rohanpsingh/mc_mujoco

Joint torques sent to mc_rtc are wrong?

Closed this issue · 1 comments

torques[mj_jnt_to_rjo[i]] = data->qfrc_actuator[mj_mot_ids[i]];

@gergondet I think we should be using the actuators' dof address while accessing data->qfrc_actuator, instead of motor ids.
Do you agree?

Solved in 5490e09