All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
Robot’s Manipulator Kinematic Study and Workspace Visualization. AIM: To visualize the simulation to analyze. To have understanding of workspace with the help of kinematics study of Manipulator (2d). GOVERNING EQUATIONS IF ANY: - The transformation matrix T for the end-effector with respect to the coordinate frame…
Sourabh Lakhera
updated on 27 Jun 2020
Robot’s Manipulator Kinematic Study and Workspace Visualization.
AIM:
To visualize the simulation to analyze. To have understanding of workspace with the help of kinematics study of Manipulator (2d).
GOVERNING EQUATIONS IF ANY: -
The transformation matrix T for the end-effector with respect to the coordinate frame {n o a} is written as
In the transformation matrix T, the vector is the translation of end – effector frame from the reference frame and vectors (n , o, a) describe the orientation of end – effector.
The vector n, o, and a represent the X, Y, Z axes of the end-effector frame.
Matric T is applicable to any co-ordinate frame and any joint of the manipulator.
n is normal vector in the X axis.
o is orientation vector in the Y axis.
a is approach vector in the Z axis
OBJECTIVES OF THE PROJECT:-
BODY OF THE CONTENT: -
The Project has been coded in MATLAB, which Is also acceptable to RUN in OCTAVE, although some syntax for making record of simulation to form an video is different as of MATLAB.
Example:
file_text=sprintf(“output%d.png”,n)
saveas (gca, file_text);
Where,
Apart of this above mention code, rest all are were written same.
Some Glimpse are as follows : -
for i = 1 : length(theta1)
THETA1 = theta1(i)
for j = 1 : length(theta2)
THETA2 = theta2(j)
End
End
Error faced :-
For loop was terminated just after once as I missed out giving count for loop.
So after this given
ct = 1;
ct = ct+1;
movie(S)
videofile = VideoWriter('Kinematic_manipulator_simulation.avi','Uncompressed AVI');
open(videofile)
writeVideo(videofile,S)
close(videofile)
Error faced : -
Misspelled the command write(videofile,S)
Result in error, so finally re-correct it as writeVideo(videofile,S).
INPUT REQUIRED :-
(X0 = 0 ,Y0 = 0) ; (X1 = L1*,Y1 = L1*) ; (X3 = L2*,Y3 = L2*
RESULTS : -
The following resultant were obtained after the successful MATLAB code execution.
https://youtu.be/CAag9UV6GxU - Animation of 2R kinematics analysis of robot manipulator would be easily accessible through this YouTube link
clear all
close all
clc
%Input
L1=1;
L2=0.5;
%For varying angle of link 1 and link 2 , constantly varying inputs
theta1 = linspace(0,90,40);
theta2 = linspace(0,90,40);
%count for the increament of loop after its completion everytime
ct = 1;
%we will have an dependency on the number of intermediate angle theta is
%taking in between (0 to 90), in the 'FOR' loop
for i = 1 : length(theta1)
THETA1 = theta1(i);
for j = 1 : length(theta2)
THETA2 = theta2(j);
%base coordinate of the manipulatoe
x0 = 0 ;
y0 = 0 ;
%end coordinate of link 1 or starting coordinate of link 2
x1 = L1*cosd(THETA1);
y1 = L1*sind(THETA1);
% finally the end coordinate of link 2 or end-effector
x2 = x1 + L2*cosd(THETA2);
y2 = y1 + L2*sind(THETA2);
%visualizing the simulation of graph to know the workspace of
%manipulator
plot([x0 x1],[y0 y1],[x1 x2],[y1 y2],'linewidth',3);
axis([-0.2 1.5 0 1.5])
pause(0.03)
%pause of 0.03 is neccessity to hold every frame to under the motion
S(ct) = getframe(gcf);
ct = ct + 1;
end
end
%finally recording the simulation as film as .avi file, for record and
%understanding of workspace concept
movie(S)
videofile = VideoWriter('Kinematic_manipulator_simulation.avi','Uncompressed AVI');
open(videofile)
writeVideo(videofile,S)
close(videofile)
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Project 1 - Data Cleaning and Transformation using Pivot table and Charts for the Report on requirement of Team Hiring
Project Documentation: Optimizing Team Hiring Insights through Data Cleaning and TransformationIntroductionIn today's data-driven environment, businesses thrive on informed decision-making. At ABC Private Limited, a manufacturer and seller of diverse products ranging from Classic Cars to Trucks and Buses, understanding…
26 Sep 2024 02:54 PM IST
Project 2
Project Documentation: Alumni Career Choices AnalysisAimThe aim of this project is to analyze the career choices of alumni from two universities with respect to their passing year and the courses they completed. This analysis helps in understanding the career growth of alumni, which plays a crucial role in the institute's…
10 Jul 2024 08:03 AM IST
Project 1
From the series of queries and actions conducted on the ecommerce database, several insights can be derived regarding the user demographics and their activities on the platform. Firstly, the database contains information about users' demographics, such as their gender, country, language, and usage of applications like…
28 Feb 2024 07:45 PM IST
Project 2 - EDA on Vehicle Insurance Customer Data
EDA on Vehicle Insurance Customer Data Aim: The aim of this project is to perform exploratory data analysis (EDA) and data cleaning on two datasets containing customer details and policy details. The objective is to prepare the data for future analysis and modeling, identify patterns, and derive insights to aid business…
19 Feb 2024 08:36 PM IST
Related Courses
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.