2024-03-16 22:19:28 +08:00
|
|
|
|
|
|
|
cmds=(
|
2024-04-17 17:40:20 +08:00
|
|
|
"ros2 service call /map_save std_srvs/srv/Trigger"
|
2024-03-16 22:19:28 +08:00
|
|
|
"ros2 launch pcdmap2pgm pcd2pgm.launch.py"
|
2024-04-23 20:35:07 +08:00
|
|
|
"ros2 run nav2_map_server map_saver_cli -t map -f /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/maps/c603test")
|
2024-03-16 22:19:28 +08:00
|
|
|
|
|
|
|
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
|