Guide: Loading and saving mapsΒΆ

Open a terinal and run roslaunch dyno_gazebo bringup.launch

Open web_interface in a browser. Make sure that hostname set to your computer.

Start making a new map toggling the cartographer new 2d switch in the Capabilies section of the web interface.

../_images/new_map.gif

Enable navigation with move_base by toggling navigation.

../_images/new_map2.gif

Move around in the environment by sending navigation goals in rviz.

../_images/new_map3.gif

You also drive around manually by using a joystick or keyboard. See Teleop for more details.

Alternativly you can use the Exploration Rapp to make the robot explore the environment autonomously. See Guide: Exploration.

../_images/new_map4.gif

When you have finished mapping, first click the Finish Trajectory 0 button and then the Save State button in the Cartographer.

../_images/new_map5.gif

The Finish Trajectory 0 button freezes the trajectory and runs some optimizations, so you will not be able to coninue mapping after pressing is. (Saving the sate without finishing trajectory first also works)

Turn off mapping.

../_images/new_map6.gif

Toggle the cartographer load state 2d switch to load the saved map.

../_images/new_map7.gif

The robot will start on a new trajectory (green) and continue mapping from where it left off.

../_images/new_map8.gif