RViz
, here you see Panals
in that you will get Add New Panals
SlamToolboxPlugin
under slam_toolbox
map
or your map name in both first 2 rows and click on both Save Map
and Seriallize Map
/colcon_ws/
map.data
, map.pgm
, map.posegraph
and map.yaml
ebot_nav2
i.e. /ebot_nav2/maps/
ebot_bringup_launch.py
launch file in dir /ebot_nav2/launch/
.
declare_map_yaml_cmd = DeclareLaunchArgument(
'map',
default_value=os.path.join(ebot_nav2_dir, 'maps', 'map_name.yaml'), ## Update the map config here
description='Full path to map yaml file to load')
nav2_params.yaml
launch file in dir /ebot_nav2/params/
.
map_server:
ros__parameters:
use_sim_time: True
yaml_filename: "map_name.yaml" ## Update the map name here
colcon build
OR
colcon build --symlink-install
Why to rebuild ?? Google it !