24navigation/mapping222.sh

13 lines
344 B
Bash
Raw Normal View History

cmds=(
"ros2 launch pcdmap2pgm pcd2pgm.launch.py"
2024-03-24 21:24:39 +08:00
"ros2 run nav2_map_server map_saver_cli -t map -f /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/maps/240323
")
for cmd in "${cmds[@]}";
do
echo Current CMD : "$cmd"
gnome-terminal -- bash -c "cd $(pwd);source install/setup.bash;$cmd;exec bash;"
sleep 0.2
done