源码安装turtlebot包

介绍从源码包安安装turtlebot包,其中的内容基本从ros官网里翻译过来
ros上的相应链接

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

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

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

基本到这里就可以安装完成,其中注意的是安装完成后可能还是无法roscd到相应的程序包,此时需要

echo "source ~/turtlebot/devel/setup.bash" >> ~/.bashrc

或者直接进入turtlebot文件夹操作

cd ~/turtlebot
source devel/setup.bash

完成此项操作好基本就可以使用roscd命令了。

阅读更多
文章标签: gmapping turtlebot
个人分类: gmapping
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭