-
We are trying to control in velocity mode but it is not working with the iCub, whereas the same code works in Gazebo simulator. We are asking for someone next week (possibly ASAP) to check together with us the reason why it is happening. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Hi @lunagava ,
|
Beta Was this translation helpful? Give feedback.
-
Yes, I'm pretty sure of putting |
Beta Was this translation helpful? Give feedback.
-
Inspecting the issue F2F we found out that the velocity control needed to be explicitly enabled through the function RemoteControlBoard::enablePid(VOCAB_PIDTYPE_VELOCITY, jointNumber). |
Beta Was this translation helpful? Give feedback.
-
We tested the velocity controller live on the robot together with @mfussi66 and the robot did not move. We tried to control in velocity mode from the yarpmotorgui (that is possible only when you tick enable velocity control option from the view menu) to see what was happening. We noticed that only the neck roll was moving is we set the value. After doing some tests, also pitch and yaw started working unexpectedly and we do not know why and how. Now, it is working also when you send the control command from the custom code. Thanks again @mfussi66 for helping me to unblock the situation. |
Beta Was this translation helpful? Give feedback.
We tested the velocity controller live on the robot together with @mfussi66 and the robot did not move. We tried to control in velocity mode from the yarpmotorgui (that is possible only when you tick enable velocity control option from the view menu) to see what was happening. We noticed that only the neck roll was moving is we set the value. After doing some tests, also pitch and yaw started working unexpectedly and we do not know why and how. Now, it is working also when you send the control command from the custom code.
Thanks again @mfussi66 for helping me to unblock the situation.