Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iCubGazeboV2_5 unstable if it is controlled using velocity mode #13

Closed
GiulioRomualdi opened this issue May 7, 2018 · 4 comments
Closed
Assignees

Comments

@GiulioRomualdi
Copy link
Member

When I try to switch from position control to velocity control iCub jumps and the switched joint goes in hardware fault.
Here a simple example.

velocityMode_old

I have tried to tune the PID controller of the l_shoulder_pitch` joint:

Gain Old New
Kp 8.726 0.85
Kd 0.035 0
Ki 0.002 0.15

This is the result

velocityMode_new

@traversaro
Copy link
Member

Great @GiulioRomualdi . You can open a PR against the configuration file that are stored in icub-model-generator, see : https://github.com/robotology-playground/icub-model-generator/tree/master/simmechanics/data/icub2_5/conf .

@fiorisi
Copy link
Member

fiorisi commented May 8, 2018

With @gabrielenava we noticed that in the new gif the arm of the robot is slowly moving down. this is probably due to the fact that the Kp gain is low. Did you try to reduce the time step of the Gazebo simulation with the Old gains?

@GiulioRomualdi
Copy link
Member Author

@fiorisi I have just tried. The results is the same of before: the switched joint goes in hardware fault.

@traversaro
Copy link
Member

With PR robotology/icub-models-generator#138, we switched the velocity control mode to actually send a velocity to a low-level integrator, whose output is then send to the usual position control. For this reason, I think that this issue is now solved, and it can be closed. Feel free to reopen if a similar error is still present.

@traversaro traversaro self-assigned this Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants