Revision 7b67834d examples/yarp_icub/src/icub_jointinterface.cpp
examples/yarp_icub/src/icub_jointinterface.cpp | ||
---|---|---|
263 | 263 |
|
264 | 264 |
|
265 | 265 |
//if (id == ICUB_ID_NECK_PAN) speed = -speed; |
266 |
ivel->velocityMove(id, target_velocity); |
|
266 |
ivel->velocityMove(id, -target_velocity);
|
|
267 | 267 |
printf("> VEL now=%3.2f target=%3.2f --> dist=%3.2f speed=%3.2f\n",target_angle_previous[id],target_angle[id],distance,speed); |
268 | 268 |
} |
269 | 269 |
|
Also available in: Unified diff