Lab 3
Lab 3
Faculty of Engineering
Mechatronics Eng. Department
MT502 - Robotics
➢ Example-1:
L1 = 20, L2 = 15
Represent individual Frames of a Robot using MDH
➢ Example-1:
Syms theta_1 theta_2 theta_3
T_0_1 = trotz(theta_1)
T_1_2 = transl(20,0,0) * trotz(theta_2)
T_2_3 = transl(15,0,0) * trotz(theta_3)
L1 = 20, L2 = 15
Pose of The Robot
➢ Example-2:
theta_1= pi/6;
theta_2 = pi/4;
theta_3 = pi/3;
T_0_1 = trotz(theta_1);
T_1_2 = transl(20,0,0) * trotz(theta_2);
T_2_3 = transl(15,0,0) * trotz(theta_3);
T_3 = T_0_1 * T_1_2 * T_2_3
L1 = 20, L2 = 15
Theta1 = 30, theta2 = 45, theta3 = 60
Try the following:
-Plot themanipulator.
-Animate manipulator as
theta1 change from(5 to 80).
The Robot D-H Table using Robotics Toolbox
➢ Robot manipulator Link class.
Link([theta, d, a, alpha,0]) (for revolute joint)(for standard D-H)
L=
theta=q, d= 0.1 , a=0.2, alpha= 1.571, offset= 0 (R,stdDH)
L=
theta= 0, d=q, a= 0.2, alpha= 1.571, offset= 0 (P,stdDH)
The Robot D-H Table using Robotics Toolbox
L1 = 20, L2 = 15
The Robot D-H Table using Robotics Toolbox
L1 = 20, L2 = 15
The Robot D-H Table using Robotics Toolbox
mdl_twolink
robot_copy= SerialLink(twolink, 'name', 'my_robot')
new_robot= twolink* robot_copy
new_robot.teach()
mdl_puma560
p560.teach()
Pose of The Robot
➢ Example_5:
The Stanford Arm find 𝑇60
Any Questions ?!
Eng. Yahya AL-Lathi