Closed JDchen-Jaden closed 2 years ago
Hi @JDchen-Jaden,
I feel like base_feedback.actuators(0).torque()
should return the actual torque applied to the actuator. I cannot test it at the moment, but if you put your arm in home position and read the torque value of the elbow joint (3rd joint on 6dof and 4th joint on 7dof), you should read a value different from 0.
If maximum torque values is 50Nm and you send a 100Nm command, the command will cap at 50Nm.
Best, Felix
Hi @felixmaisonneuve ,
Thanks! From what I understand about the discussion in #98, base_feedback.actuators(0).torque()
only feedback the external torque. I wonder how to know the exact applied torque isolated from the overall torque (including external torque).
Thanks, JD
It might not have been clear in the previous issue, but I meant the value represent the torque produced by all external forces, including gravity. So the value represent the actual applied torque on the actuator. I am not sure what you mean by overall torque.
What are you trying to measure exactly?
Hi @felixmaisonneuve ,
For example, the overall torque is 30 N.m (from base_feedback.actuators(0).torque()
) including 20 N.s command torque and 10 N.m external torque. I was wondering if it is possible to read the command torque and external torque separately.
Thsnks, JD
No it is not possible. You can only read the full torque that is applied by each actuator
Good to learn. Thanks.
Hi!
I learned that this command
base_feedback.actuators(0).torque()
is used to read external torque when the robot interacts with the environment.Thanks a bunch!
Best regards, JD