安装依赖
sudo apt-get install ros-kinetic-joy ros-kinetic-teleop-twist-joy \ ros-kinetic-teleop-twist-keyboard ros-kinetic-laser-proc \ ros-kinetic-rgbd-launch ros-kinetic-depthimage-to-laserscan \ ros-kinetic-rosserial-arduino ros-kinetic-rosserial-python \ ros-kinetic-rosserial-server ros-kinetic-rosserial-client \ ros-kinetic-rosserial-msgs ros-kinetic-amcl ros-kinetic-map-server \ ros-kinetic-move-base ros-kinetic-urdf ros-kinetic-xacro \ ros-kinetic-compressed-image-transport ros-kinetic-rqt* \ ros-kinetic-gmapping ros-kinetic-navigation ros-kinetic-interactive-markers -y
安装功能包
cd ~/catkin_ws/src/ git clone -b kinetic-devel https://gitee.com/kay2020/DynamixelSDK.git git clone -b kinetic-devel https://gitee.com/kay2020/turtlebot3_msgs.git git clone -b kinetic-devel https://gitee.com/kay2020/turtlebot3.git cd ~/catkin_ws && catkin_make
设置环境变量
echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc