Note: In this workshop we will use
rqt_reconfigureto modify parameters. In a production environment, it is recommended to modify parameters directly in the Nav2 YAML configuration file.
- Launch the simulation environment with Kobuki:
ros2 launch easynav_playground_kobuki playground_kobuki.launch.py- In another terminal, launch the navigation stack with the generated map:
ros2 launch nav2_playground navigation_launch.py map:=<path-to-generated-yaml>- With the navigation stack running, open rqt:
rqt- In rqt, go to
Plugins→Configuration→Dynamic Reconfigure
- Explore and modify parameters of different Nav2 plugins, such as modifying the inflation radius of the
local_costmapandglobal_costmap:
Before → Global Costmap (after) → Local Costmap (after)
-
Modify the costmap layers by editing the
nav2_kobuki_params.yamlfile:For the Global Costmap:
- Remove the
obstacle_layerlayer
For the Local Costmap:
- Remove the
voxel_layerlayer - Add the
obstacle_layerlayer in its place
After modifying the file, relaunch the navigation stack to apply the changes.
- Remove the



