1 #!/bin/bash
 2 #source /opt/ros/melodic/setup.bash 
 3 
 4 #source /home/pi/catkin_ws/devel/setup.bash
 5 
 6 #ROS_PACKAGE_PATH=~/catkin_ws/src:$ROS_PACKAGE_PATH
 7 #ROS_WORKSPACE=~/catkin_ws/src
 8 
 9 cd catkin_ws
10 
11 source devel/setup.bash
12 sudo chmod 666 /dev/ttyUSB0
13 roslaunch imu_driver imu_node.launch &
14 sleep 15
15 
16 sudo chmod 666 /dev/ttyUSB1
17 roslaunch rplidar_ros rplidar.launch &
18 sleep 15
19 
20 source install_isolated/setup.bash
21 roslaunch cartographer_ros rplidar_slam2.launch 

 

相关文章:

  • 2022-12-23
  • 2021-04-03
  • 2022-12-23
  • 2021-12-23
  • 2021-11-02
  • 2021-08-21
  • 2022-01-06
  • 2021-06-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-31
  • 2021-12-09
  • 2022-12-23
  • 2021-07-12
相关资源
相似解决方案