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?
Official Python bindings with a focus on reinforcement learning and robotics.
1 post • Page 1 of 1