Lab 7
Lab 7
Lab Number 07
CoppeliaSim EDU – Computing Inverse Kinematics of UR5
Introduction:
Inverse Kinematics is computed when robot needs to move at a known end effector position
and orientation calculating the required joint angles for smooth operation.
Software Used:
CoppeliaSim EDU v4.7
Programming Language:
LUA (SimIk Plugin Used)
INVERSE KINEMATICS:
Add 7 reference frames and name them as O0, O1, …. , O6.
Put O0 as a child of UR5 and O1 for joint 1, O2 for joint 2 and so on…
66
National University of Sciences & Technology
Course: MTS - 417 Intro to Robotics
Lab Manual
Prepared By: Dr. Tayyab Zafar & LE Hamza Sohail
Now translate and rotate all the frames relative to parent frame and give them values 0,0,0 for both
position and orientation. Also make sure that UR5 is at 0,0,0 position for smooth measurement.
BASE, TIP and TARGET:
To compute inverse kinematics three dummy object to be placed. Tip to be placed under joint 6
along with O6. Target dummy object to be placed individually without being a child object of
anyone. Base to placed as a child object of UR5. Also make TIP and BASE orientation and position
0,0,0 with respect to the parent frame. Make target near robot for the robot to move in that direction
but it should not be outside workspace of the robot.
67
National University of Sciences & Technology
Course: MTS - 417 Intro to Robotics
Lab Manual
Prepared By: Dr. Tayyab Zafar & LE Hamza Sohail
68
National University of Sciences & Technology
Course: MTS - 417 Intro to Robotics
Lab Manual
Prepared By: Dr. Tayyab Zafar & LE Hamza Sohail
Now check the joint angles it has moved and verify using joint tool to make sure that the robot
had moved correctly.
69