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

Add parameters component #304

Closed
wants to merge 10 commits into from

Conversation

ivanpauno
Copy link
Contributor

🎉 New feature

Replaces gazebosim/gz-sim#1280.

Summary

Adds an implementation of a parameter registry, which allows through services to:

  • Declare a parameter.
  • Get the value of a parameter.
  • Set the value of a parameter.
  • List all parameters.

The same operations can be done directly locally, using the parameters registry API.
There's also a parameters client implementation, which is just a wrapper on top of sending requests to the services.

TODO:

  • Add tests!!!
  • Open PR in ignition gazebo using this!!!

Test it

TODO

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

@ivanpauno ivanpauno added the enhancement New feature or request label Mar 30, 2022
@ivanpauno ivanpauno self-assigned this Mar 30, 2022
@ivanpauno ivanpauno changed the base branch from ign-transport11 to ign-transport10 March 30, 2022 20:43
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
@ivanpauno ivanpauno force-pushed the ivanpauno/parameters-component branch from dc90902 to 886f14d Compare March 30, 2022 20:44
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Mar 30, 2022
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
@ivanpauno
Copy link
Contributor Author

I will open a PR targetting ignition-transport11 instead.

@ivanpauno ivanpauno closed this Apr 8, 2022
@ivanpauno ivanpauno mentioned this pull request Apr 8, 2022
10 tasks
@ivanpauno ivanpauno deleted the ivanpauno/parameters-component branch April 8, 2022 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 🏯 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant