Java教程

ubuntu 16.04 安装TurtleBot3 ROS功能包

本文主要是介绍ubuntu 16.04 安装TurtleBot3 ROS功能包,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

 

安装依赖

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

  

这篇关于ubuntu 16.04 安装TurtleBot3 ROS功能包的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!