Troubleshoot mapping/recording areas

We assume that you at least followed Record a map.


Making a backup and/or removing a map.

The default location of the map can be found under

/root/ros_home/.ros/map.bag

You can always back up your current map by logging in via SSH and copying the .bag file.

If you want to retrieve the file, you can use an SFTP client like WinSCP or Cyberduck.

sudo cp /root/ros_home/.ros/map.bag /root/ros_home/.ros/map.bag.backup

To delete the map

# stop the openmower service so that it doesnt access the map anymore
sudo systemctl stop openmower
# check, if the map file is indeed there.
ls /root/ros_home/.ros/map.bag
# delete map
sudo rm /root/ros_home/.ros/map.bag
# restart OM
sudo systemctl start openmower



Map Editor

There’s a WIP map editor made by Nekraus, JavaBoon and Eddi using Python, which you can try and use to fix your map or add in obstacles.

Map editor