24navigation/nav.sh

19 lines
692 B
Bash
Raw Normal View History

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 imu_complementary_filter complementary_filter.launch.py"
"ros2 launch pointcloud_to_laserscan pointcloud_to_laserscan_launch.py"
"ros2 launch plc_bringup bringup_launch.py"
2024-03-18 19:28:54 +08:00
"ros2 launch rm_serial_driver serial_driver.launch.py"
"ros2 topic echo /cmd_vel")
for cmd in "${cmds[@]}";
do
echo Current CMD : "$cmd"
2024-03-19 20:03:41 +08:00
echo 'hfut' | sudo -S chmod 777 /dev/ttyACM0
gnome-terminal -- bash -c "cd $(pwd);source install/setup.bash;$cmd;exec bash;"
sleep 0.2
done