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
作者:kay 出处:https://www.cnblogs.com/kay2018/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。 如果文中有什么错误,欢迎指出。以免更多的人被误导。 |