28 using namespace MotionControlGroup;
36 KinematicUnitInterfacePrx ku =
c->getKinematicUnit();
37 NameControlModeMap cmodes;
39 for (
const auto& elem : in.getJoints())
41 cmodes[elem] = eTorqueControl;
44 ku->switchControlMode(cmodes);
45 ku->setJointTorques(targets);