TB3-PC端配置系列教程-8.A2雷达版本PC端或者机器人端代码更新教程

sudo apt install wget -y

echo "export TURTLEBOT3_LASER_SENSOR=rplidar" >> ~/.bashrc

source ~/.bashrc

cd ~/catkin_ws/src

wget http://rosrobot.cn/zb_users/upload/software/tb3/turbot3.zip

wget http://rosrobot.cn/zb_users/upload/software/tb3/rplidar_ros.zip

unzip turbot3.zip

unzip rplidar_ros.zip

mv turbot3-master turbot3

mv rplidar_ros-master rplidar_ros

sudo rm ./turbot3.zip

sudo rm ./rplidar_ros.zip

cd ~/catkin_ws/

catkin_make

增加A2雷达权限

cd rplidar_ros/scripts/

chmod 777 ./create_udev_rules.sh

./create_udev_rules.sh

#执行完毕上述操作,此处需要重启

sudo reboot