UR3 - How to set tool offset
14 views (last 30 days)
Show older comments
Hi, Im new to using UR (Universal Robot) and especially in Matlab environment. My goal is to use analytical Inverse Kinematic functions to generate various possible joint angles needed to get to a pose. My question is I do have a holder attached to the Robot end and my TCP (tool center point) is offset. Would like to know how to account for this in my robot model before I use the IK functions.
thanks,
Krishna
0 Comments
Answers (1)
Deep Parikh
on 2 Jun 2022
Hello Krishna,
You can leverage addBody function from the Robotics Systems Toolbox to attach the holder at the end of the 'tool0' frame of UR rigid body tree model. In adiition to this, you can utilize setFixedTransform function to define the offset between the newly added holder's referance frame and 'tool0' referance frame. Once you have the correct offset, you can use the tools for analytical Inverse Kinematic with the modified rigid body tree models.
For the similar implementation, refer to Add a Dummy Glue Dispenser Tool at the End-Effector Body section of the Simulate a Universal Robots UR5 Using MATLAB and Gazebo for Glue Dispensing on a Windshield example. In this, an external tool is attached to the UR robot and a new referance frame is created at the tip of the tool. Further, various trajectory generation tools are used to compute trajectories for the new TCP.
1 Comment
Dario
on 26 Jul 2024
Good morning,
I am programming a UR3 robot (CB3 series) in MATLAB, and i wanted to control the end-effector in order to execute a pick and place task, i have an OnRobot RG2 gripper attached on it, but i am not getting how can i open and close it from MATLAB, should i add the body of the gripper to my UR3 or there is a direct command to control 'tool0' without adding the specific gripper? Even if i have to execute the command 'addBody', what should i do then in order to control it? thank you in advance!
See Also
Categories
Find more on Robotics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!