PickNikRobotics / generate_parameter_library

Declarative ROS 2 Parameters
BSD 3-Clause "New" or "Revised" License
231 stars 43 forks source link

Use pre-set callback to modify mapped parameters #143

Open tylerjw opened 1 year ago

tylerjw commented 1 year ago

When the key field changes, the pre-set callback could be used to declare/un-declare mapped parameters. This assumes that you can declare in the callback and that won't cause a deadlock; this requires testing to verify. Reference to the docs on pre-set callback:

https://docs.ros.org/en/rolling/Concepts/Basic/About-Parameters.html#parameter-callbacks