Commit 0ef46253 authored by Timothee Habra's avatar Timothee Habra
Browse files

update voltage index in yarp open loop control

parent c3fb05d2
......@@ -151,7 +151,7 @@ void RobotranYarpMotionControl::updateFromYarp(MBSdataStruct *MBSdata)
}
case VOCAB_CM_OPENLOOP:
MBSdata->user_IO->Voltage[MBSdata->user_IO->real2actuated[jointID_map[i]]] = openLoopVoltage[i]; // mapping TBC !!!
MBSdata->user_IO->Voltage[i+1] = openLoopVoltage[i]; // mapping TBC !!!
MBSdata->user_IO->servo_type[motorID_map[i]] = OPEN_LOOP_CTRL;
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment