UniversalRobots / Universal_Robots_ROS_Driver

Universal Robots ROS driver supporting CB3 and e-Series
Apache License 2.0
747 stars 401 forks source link

How can I get the target torque and current for UR10 robot? #657

Open MohamedOmar2014 opened 1 year ago

MohamedOmar2014 commented 1 year ago

(ROS neotic+ubuntu 20.04) I'm trying to get the target torque and current for each joint of the robot. I added target_current and target_moment to rtde_output_recipe.txt but I don't know how can I access it through /joint_states topic or any other way. Any help??

I did that based on the following:

fmauch commented 1 year ago

Yes, that would have been the suggestion I would have done. #35 comes closest to what you want to achieve. As you can see in the discussion there, this has never settled to an agreement and never was followed up.