'how to add iiwa joint torque sensor in drake
I want to use iiwa's joint torque feedback data in my controller's input.
But I didn't find API to get joint torque data.
Which API should I use?
get_reaction_forces_output_port. or get_generalized_contact_forces_output_port?
Solution 1:[1]
The iiwa API makes three torque values available: commanded, measured, and external. In the manipulation_station simulation, we take commanded to be the value of the input port, measured to be the same (assuming ideal torque tracking), and external to be the value from the get_generalized_contact_forces_output_port -- since contact forces are the only source of external torques.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Russ Tedrake |
