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