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" "ros2 launch rm_serial_driver serial_driver.launch.py" "ros2 topic echo /cmd_vel") 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