TB2安装ubuntu16.04+kinetic的ROS包

 

安装源

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

安装依赖

sudo apt-get install ros-kinetic-turtlebot ros-kinetic-turtlebot-apps ros-kinetic-turtlebot-interactions ros-kinetic-kobuki-ftdi ros-kinetic-ar-track-alvar-msgs ros-kinetic-turtlebot-simulator

安装准备

sudo apt-get install python-rosdep python-wstool ros-kinetic-ros
sudo apt-get install pyqt5-dev-tools
sudo rosdep init
rosdep update

建立工作空间rocon

mkdir ~/rocon
cd ~/rocon
wstool init -j5 src https://raw.github.com/robotics-in-concert/rocon/release/kinetic/rocon.rosinstall
source /opt/ros/kinetic/setup.bash
rosdep install --from-paths src -i -y
catkin_make

建立工作空间kobuki

mkdir ~/kobuki
cd ~/kobuki
wstool init -j5 src https://raw.githubusercontent.com/yujinrobot/yujin_tools/kinetic-devel/rosinstalls/kinetic/kobuki.rosinstall
source ~/rocon/devel/setup.bash
rosdep install --from-paths src -i -y
catkin_make

建立工作空间turtlebot

mkdir ~/turtlebot
cd ~/turtlebot
wstool init -j5 src https://raw.github.com/yujinrobot/yujin_tools/kinetic-devel/rosinstalls/kinetic/turtlebot.rosinstall
source ~/kobuki/devel/setup.bash
rosdep install --from-paths src -i -y
catkin_make

  

参考

https://blog.csdn.net/sinat_37273779/article/details/82864564

https://blog.csdn.net/qq_27977711/article/details/82024087

https://blog.csdn.net/zhangjiali12011/article/details/79995118

 

posted @ 2021-02-26 10:36  kay880  阅读(131)  评论(0编辑  收藏  举报