27 using namespace MotionControlGroup;
35 KinematicUnitInterfacePrx ku =
c->getKinematicUnit();
36 NameControlModeMap cmodes;
37 for (
const auto& elem : in.getTorques())
39 cmodes[elem.first] = eTorqueControl;
41 ku->switchControlMode(cmodes);
42 ku->setJointTorques(in.getTorques());