
NeuronBot
List of Figures
55
# for dashing and eloquent
ros2 run nav2_map_server map_saver -f <map_name>
or
# for foxy:
ros2 run nav2_map_server map_saver_cli -f <map_name>
9. Stop the Slam Toolbox by pressing
ctrl + c
in the Slam Toolbox session (Session 3).
5.4.3. Navigation
After getting a static map, running a SLAM package is not recommended due to its computational load. This
section describes how to use an AMCL package to locate the NeuronBot using a previously generated map and
existing laser scan. This will allow you to move the NeuronBot from one location to a specified destination.
Note:
Ensure that everything in the base driver has been launched before running SLAM.
Terminal 1,
Session 2:
1. Source the environment.
source /opt/ros/<YOUR_ROS2_DISTRO>/setup.bash
source ~/neuronbot2_ros2_ws/devel/
local_
setup.bash
2. Start the navigation procedure by executing the following command.
ros2 launch neuronbot2_nav bringup_launch.py map:=<full_path_to_your_map_name.yaml>