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

Dynamically tuning [joint_trajectory_controller] PID gain #882

Closed
JinbaoXiong opened this issue Dec 5, 2023 · 3 comments
Closed

Dynamically tuning [joint_trajectory_controller] PID gain #882

JinbaoXiong opened this issue Dec 5, 2023 · 3 comments

Comments

@JinbaoXiong
Copy link

JinbaoXiong commented Dec 5, 2023

In ros1, the change of P parameters of effort_controller/JTC in runtime can be use to change the force of the joint. But in ros2, I have tried to change the P parameters using the /set_parameters service provided by the JTC in runtime, but the forece still remain same.
I just wonder, when the JTC in ros2 can have the ability to accept the change of the PID gains in runtime like ros1?

@christophfroehlich
Copy link
Contributor

christophfroehlich commented Dec 5, 2023

Yes, in iron and rolling.
Iron might not be released yet, you have to build it from source.
For humble you can use the the branch from this PR and build it from source.

@christophfroehlich
Copy link
Contributor

Sorry, for iron it was already released with 3.18 too.

@JinbaoXiong
Copy link
Author

thanks a lot!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants