The Gazebo API has 3 methods that return "torque" of the joint
- GetForceTorque().body1Torque
- GetForceTorque().body2Torque
- GetLinkTorque()
When I record all of them during the simulation, each of them is different. They do stay in the same range, but the graphs are different. The "LinkTorque" sometimes kind of follows the GetForceTorque().body1Torque, other times the GetForceTorque().body2Torque. What does each of those values represent?