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

Set Dynamixel PID gain parameters for position and velocity #57

Open
yjvyas opened this issue May 19, 2023 · 2 comments
Open

Set Dynamixel PID gain parameters for position and velocity #57

yjvyas opened this issue May 19, 2023 · 2 comments
Assignees

Comments

@yjvyas
Copy link

yjvyas commented May 19, 2023

How do I set the internal Dynamixel PID gains for position and velocity? I can see that there is a set of variables in dynamixel_hardware.cpp (kExtraJointParameters) that sets this from the urdf file. However, when I specify "Position_P_Gain" and "Position_D_Gain", in the INFO output for the controller I can only see that "Position_P_Gain" has been set.

@yjvyas
Copy link
Author

yjvyas commented Jul 14, 2023

I found the issue, it's only for the humble branch, line 46 of dynamixel_hardware.cpp is missing the comma:


and it should be "Position_D_Gain,", which allows it to find the right constants to set.

@youtalk youtalk self-assigned this Jul 25, 2023
@youtalk
Copy link
Collaborator

youtalk commented Jul 25, 2023

Thank you for your feedback.
I hope #64 resolves it. Please wait soon.

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

2 participants