xyz position tracking of UR10
Hi all, I am currently working on a UR10 robot that has to do a certain contact operation on parts. i have the trajectory execution working and it executes the operation almost flawlessly aside from the start and stop of the operation. Therefore i need to be able to get the realtime position of the TCP link of the robot. I have been looking at TF2 but i am not sure if i can use it this purpose as it seems it only publishes the transform matrix. I have also been looking at the ROS navigation stack but it says it is only in 2d and it looks like it is for robots that actually move their entire base in space. I probably need something that does use TF2 but then calculates the position. Thanks in advance
Can you please clarify: Do you want to control the robot or just observer its tcp position?
i do not want to change the trajectory when it is running, I indeed just want to observe the robot when it is running said trajectory.