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

Dynamic reconfigure, gain min and max values #105

Open
roboticlemon opened this issue Feb 3, 2021 · 0 comments
Open

Dynamic reconfigure, gain min and max values #105

roboticlemon opened this issue Feb 3, 2021 · 0 comments

Comments

@roboticlemon
Copy link

Since we are using normal dynamic reconfigure the min and max values for each parameter are hard coded in the cfg file like so:
gen.add( "p" , double_t, 1, "Proportional gain.", 10.0, -100000, 100000).
With the 2nd last variable representing the minimum value and the last value representing the maximum value.

Since the default values are -100 000 to 100 000, controllers that otherwise need gain values orders of magnitude less can't be tuned using the dynamic reconfigure gui. Is there an elegant way we can pass the min and max values for each gain through the constructor (optionally) and then have them updated on the dynamic reconfigure server for visibility on clients? I can't seem to find a way for clients to modify these values themselves.

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

1 participant