Slide 7
Slide 7 text
SLAM with rosbag2 File
7
1. Launch the Cartographer nodes
$ ros2 launch raspimouse_cartographer
cartographer.launch.py
2. Play the recorded rosbag2 file
$ ros2 bag play XXX.bag
3. After making 2D map, save it
$ ros2 run nav2_map_server map_saver -f ~/.ros/map