TB3-SBC端配置系列教程-1.环境变量配置(通用)

turtlebot3&openCV.png

注意:

树莓派4B不再支持ROS Kinetic(Ubuntu16.04)

Jetson Nano不再支持ROS Kinetic(Ubuntu16.04)


echo "export ROS_MASTER_URI=http://192.168.11.110:11311" >> ~/.bashrc

echo "export ROS_HOSTNAME=192.168.11.101" >> ~/.bashrc

查看Master IP 和SBC IP

修改IP 

生效

source .bashrc


模型说明环境变量

echo "export TURTLEBOT3_MODEL=burger" >> ~/.bashrc

source .bashrc

rplidar雷达环境变量(只针对rplidar)

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

source .bashrc

设置rplidar雷达权限(只针对rplidar)

roscd rplidar_ros/

cd scripts/

chmod  777 ./create_udev_rules.sh

./create_udev_rules.sh