Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I. Single Movement from One Position to another Position Set the orientation of the robot at start point as a straight line to locate endpoint

I. Single Movement from One Position to another Position
Set the orientation of the robot at start point as a straight line to locate endpoint at 3i-4j. With this configuration, calculate the angles of 1 and 2. In the code listed in the next page, replace the value of theta11 with 1 and theta21 with 1. These two angles are the starting points.
Calculate the angles of 1 and 2 with the second link lies horizontally. Keep in mind that the endpoint of the two-link mechanism must be located at x=3ft. In the code listed in the next page, replace the value of theta12 with 1 and theta22 with 1. These two angles are the starting points.
Use the following code with the calculated results to simulate the angular movement of the two joints. Observe the movement of the endpoint of the mechanism.
clear; clc;
L1=3;
L2=2;
thetal =
p0=[000];
thetal = thetal1: (theta12-theta11)?20: thetal2;
theta2= theta21: (theta22-theta21)/20: theta22;
framemax =20;
M=moviein (framemax);
for k=1:20
T1=RobotConv(1(k),0,L1,0);
T2=RobotConv(2(k),0,L2,0);
Forward kinematics
p0=[000];
p1= RobotPosition (T1);
p2= RobotPosition (T1***T2)
p1= RobotPosition (T1);
p2= RobotPosition (T1**T2);
figure (1)
(1) p1(1) p2(1)];
Y=[p0(2)p1(2)p2(2)];
plot (X, Y,' O-')
axis([-L1-L2 L1+L2-L1-L2 L1+L2]);
grid
M(k)=getframe(gsubf);
end
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions