ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Of course, you just need to implement a dynamic reconfigure server within your global planner plugin.

Actually some of the parameters on ROS's default global planner can be dynamically reconfigured. I would suggest to take a look at how it is implemented:

Header:

https://github.com/ros-planning/navigation/blob/noetic-devel/global_planner/include/global_planner/planner_core.h#L205 https://github.com/ros-planning/navigation/blob/noetic-devel/global_planner/include/global_planner/planner_core.h#L206

Implementation:

https://github.com/ros-planning/navigation/blob/noetic-devel/global_planner/src/planner_core.cpp#L151 https://github.com/ros-planning/navigation/blob/noetic-devel/global_planner/src/planner_core.cpp#L162