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

Fix #259 - ParameterAlreadyDeclaredException for parameter position_proportional_gain #261

Merged
merged 2 commits into from
Mar 28, 2024

Conversation

roncapat
Copy link
Contributor

Fixes #259.

@TipluJacob could you try check out this branch or apply this small patch on your setup and see if it works again?

@roncapat roncapat changed the title Fix #259 Fix #259 - ParameterAlreadyDeclaredException for parameter position_proportional_gain Mar 27, 2024
@TipluJacob
Copy link

I am sorry, my setup currently only works with humble and when I try to build your branch with my humble setup it fails, which is probably no surprise:

grafik

@roncapat
Copy link
Contributor Author

@TipluJacob
Copy link

Yes, I could manually apply those changes and it works now. Although for the second joint it now reports that the position_proportional_gain has been set to 0.
It just does not feel like a clean solution, but for now it seems alright.

grafik

@roncapat
Copy link
Contributor Author

I agree, this should not happen. I will investigate.

@roncapat
Copy link
Contributor Author

@TipluJacob friendly ping, I updated the patch. Could you check again?

@TipluJacob
Copy link

Yea, this looks better now:
grafik

@roncapat
Copy link
Contributor Author

Ok, at least now, with respect to previous baseline, there is:

  • (retention of the) possibility to load multiple systems
  • possibility to change the (otherwise defaulted) gain value globally.

Note: even before, it was a value globally defaulted.

@roncapat roncapat marked this pull request as ready for review March 28, 2024 12:16
@roncapat roncapat requested a review from ahcorde as a code owner March 28, 2024 12:16
@destogl destogl self-requested a review March 28, 2024 14:17
Copy link
Member

@destogl destogl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have applied this to humble (cherry-picking) and can confirm that it is working!

Thanks!

@roncapat
Copy link
Contributor Author

Thank you!

@ahcorde ahcorde merged commit 2526653 into ros-controls:master Mar 28, 2024
2 of 7 checks passed
@ahcorde
Copy link
Collaborator

ahcorde commented Mar 28, 2024

https://github.com/Mergifyio backport humble iron

Copy link
Contributor

mergify bot commented Mar 28, 2024

mergify bot pushed a commit that referenced this pull request Mar 28, 2024
…n_proportional_gain` (#261)

(cherry picked from commit 2526653)
mergify bot pushed a commit that referenced this pull request Mar 28, 2024
…n_proportional_gain` (#261)

(cherry picked from commit 2526653)
ahcorde added a commit that referenced this pull request Mar 28, 2024
…n_proportional_gain` (backport #261) (#262)

Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
Co-authored-by: Patrick Roncagliolo <ronca.pat@gmail.com>
Co-authored-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
ahcorde added a commit that referenced this pull request Mar 28, 2024
…n_proportional_gain` (backport #261) (#263)

Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
Co-authored-by: Patrick Roncagliolo <ronca.pat@gmail.com>
Co-authored-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
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

Successfully merging this pull request may close these issues.

ParameterAlreadyDeclaredException for parameter position_proportional_gain
4 participants