UR3 - How to set tool offset

9 views (last 30 days)
Krishna Vummidi
Krishna Vummidi on 27 May 2022
Answered: Deep Parikh on 2 Jun 2022
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

Answers (1)

Deep Parikh
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.

Tags

Products


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!