Incorrect motor torques from getJointStates(MultiDof)

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
jaduol
Posts: 2
Joined: Wed Nov 11, 2020 4:19 pm

Incorrect motor torques from getJointStates(MultiDof)

Post by jaduol »

The applied torques returned by getJointStates and getJointStatesMultiDof don't seem to be the actual applied torques for both p.POSITION_CONTROL and p.TORQUE_CONTROL. Firstly, getJointStates and getJointStatesMultiDof return different torques for the same joint IDs. Also, in p.TORQUE_CONTROL, the torques I give to p.setJointMotorControlArray don't match those returned by getJointStates(MultiDof). For p.POSITION_CONTROL, when I take the sequence of torques from getJointStates(MultiDof) and apply them using p.TORQUE_CONTROL I get completely different trajectories.

My URDF model is not an open-loop chain as I have applied two constraints to make it closed-loop.

Does anyone have any ideas on why this could be the case?
Post Reply