Closed rohanpsingh closed 1 year ago
I confirmed that I can log the command torques on the real robot!
In order to use this feature, we need to add the following lines to our project's exp_mc.py
:
connectPorts(rh.port("ctau"), mc.port("cmdTauIn"))
But since I don't have access to hrp-choreonoid, I cannot make that commit.
Thanks @rohanpsingh, I will close #23 since this contains the same commits
But since I don't have access to hrp-choreonoid, I cannot make that commit.
I think this has been fixed in recent days. Can you send a MR there?
Thank you @gergondet, Here is the MR you requested: https://gite.lirmm.fr/choreonoid-hrp-installation/hrp-choreonoid/-/merge_requests/36
This creates a new
InPort
namedcmdTauInIn
which is expected to receive the commanded torques at the IOB level (independent of position/velocity/torque control_mode) It should be connected to thectau
port ofRobotHardware
as follows:For now, the received data is directly logged through
controller().logger()
.