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

Re-implement dynamic_reconfigure #129

Closed
henningkayser opened this issue Nov 25, 2019 · 4 comments
Closed

Re-implement dynamic_reconfigure #129

henningkayser opened this issue Nov 25, 2019 · 4 comments
Assignees

Comments

@henningkayser
Copy link
Member

henningkayser commented Nov 25, 2019

We need to re-implement runtime updates of node parameters using dynamic_reconfigure.
A rather straight-forward approach would use parameter event callbacks as shown in this example:
https://github.com/ros2/tutorials/blob/master/rclcpp_tutorials/src/parameters/parameter_events.cpp

The only downside I see is that we don't automatically register "configurable nodes" and there is no reconfigure_gui anymore. Also, we will need to update the client sides or at least provide migration steps.

One example where dynamic_reconfigure is used in the ompl planner interface: https://github.com/ros-planning/moveit2/blob/cd27142259e13d4b34072bdc6e823288cc234d99/moveit_planners/ompl/ompl_interface/src/ompl_planner_manager.cpp#L262

@mkhansen-intel how did you handle this with navigation2?

@mkhansenbot
Copy link

Henning, I believe rqt_reconfigure is available now for dashing:
https://github.com/ros-visualization/rqt_reconfigure/tree/dashing

We have not implemented the reconfigure callbacks as of yet, but here is one PR to do so for AMCL.
ros-navigation/navigation2#1378

@henningkayser henningkayser changed the title Re-implement dynamics_reconfigure Re-implement dynamic_reconfigure Nov 26, 2019
@henningkayser
Copy link
Member Author

Henning, I believe rqt_reconfigure is available now for dashing:
https://github.com/ros-visualization/rqt_reconfigure/tree/dashing

Thanks, I wasn't aware of this one.

We have not implemented the reconfigure callbacks as of yet, but here is one PR to do so for AMCL.
ros-planning/navigation2#1378

Great to have this as an example.

@mkhansenbot
Copy link

Henning, there is also a PR in progress to create a ParameterEventsSubscriber class in rclcpp:
ros2/rclcpp#829

If you have time please take a look at it and provide any feedback if it is useful for MoveIt2.

@henningkayser
Copy link
Member Author

With https://github.com/PickNikRobotics/generate_parameter_library being applied, this issue can be closed.

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

2 participants