安装rocon、kobuki、turtlebot

这篇博客详细介绍了如何在ROS Kinetic环境下,通过源码方式卸载并安装rocon、kobuki和turtlebot。首先,通过apt-get卸载ROS,然后使用wstool和git安装所需依赖,并对rosinstall文件进行修改以适应kinetic版本。最后,创建并配置ROS工作空间,确保所有组件正确安装。
摘要由CSDN通过智能技术生成

ROS的卸载
由于用的是apt-get方式安装的ROS,卸载使用如下命令:
$ sudo apt-get remove ros-*
从源码安装
1.安装前的准备
$ sudo apt-get install python-rosdep python-wstool ros-kinetic-ros
$ sudo rosdep init(可能会出现error)
若出现ERROR:default sources list file already exists:
/etc/ros/rosdep/sources .list.d/20-default.list
只需要按照提示删除已经存在的初始化文件即可:
$ sudo rm /etc/ros/rosdep/sources.list.d/20-default.list
再重新运行 $ sudo rosdep init
$ rosdep update
2.安装rocon、kobuki、turtlebot
由于三个组合空间的关系,必须按照顺序安装
$ 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

$ mkdir ~/kobuki
$ cd ~/kobuki
$ git clone https://github.com/yujinrobot/yujin_tools.git
修改:
~/home/chunle/kobuki/yujin_tools/rosinstalls/indigo/kobuki.rosinstall文件如下:

##############################################################################

If no debs, overlay on top of the rocon and ecl rosinstallers.

##############################################################################

Kobuki / Yujin stacks

#- git: {local-name: yocs_msgs, version: release/0.6-indigo, uri: ‘https://github.com/yujinrobot/yocs_msgs.git’}

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值