add setActuatorPositionControlMode function in omc example
@@ -105,11 +105,12 @@ void initManipulator()
chain.initKinematics(kinematics);
#ifdef PLATFORM ////////////////////////////////////Actuator init
chain.initActuator(actuator);
-
+ chain.setActuatorPositionControlMode(5, 200, 50);
uint32_t baud_rate = BAUD_RATE;
void *p_baud_rate = &baud_rate;
chain.actuatorInit(p_baud_rate);
+
chain.actuatorEnable();
#endif /////////////////////////////////////////////
chain.initJointTrajectory();
