# !/bin/bash # command content cmds=( "ros2 launch rm_urdf_ff display_launch.py" "ros2 launch livox_ros_driver2 msg_MID360_launch.py" "ros2 launch linefit_ground_segmentation_ros segmentation.launch.py" "ros2 launch fast_lio mapping.launch.py" "ros2 launch pointcloud_to_laserscan pointcloud_to_laserscan_launch.py" "ros2 launch plc_bringup bringup_launch.py \map:=c603" ) for cmd in "${cmds[@]}"; do echo Current CMD : "$cmd" gnome-terminal -- bash -c "source /home/firmament/codes/24navigation/install/setup.bash;$cmd;exec bash;" sleep 0.2 done exit 0