Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
walkman
coman_robotran
Commits
0ef46253
Commit
0ef46253
authored
Apr 07, 2015
by
Timothee Habra
Browse files
update voltage index in yarp open loop control
parent
c3fb05d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
StandaloneC/src/generic/robotran_yarp_plugin/yarp_drivers/src/RobotranMotionControlBoard.cpp
View file @
0ef46253
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment