save_map.sh 189 B

123456789101112
  1. #!/bin/bash
  2. green="\e[32;1m"
  3. normal="\e[0m"
  4. cd src/robot_navigation/maps/
  5. rosrun map_server map_saver -f test_map
  6. echo -e "${green}>>> 成功保存地图!${normal}"
  7. echo -e "\n"
  8. exit 0