博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Ubunru 16.04 kinetic 下安装turtlebot2
阅读量:4610 次
发布时间:2019-06-09

本文共 4889 字,大约阅读时间需要 16 分钟。

默认安装Ubuntu16.04以及ROS kinetic

防止忘记.

1. 准备工作:

$ sudo apt-get install python-rosdep python-wstool ros-kinetic-ros$ sudo rosdep init$ rosdep update

2. 分别建立三个工作空间rocon,kobuki,turtlebot,下载和编译源码

(1) roncon

$ 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 如果遇到"/bin/sh: 1: pyrcc5: not found rocon_qt_gui"错误 则运行: sudo apt-get install pyqt5-dev-tool

(2) kobuki

$ mkdir ~/kobuki$ cd ~/kobuki$ wget https://raw.github.com/yujinrobot/yujin_tools/master/rosinstalls/indigo/kobuki.rosinstall $ vim kobuki.rosinstall #参照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'} #- git: {local-name: yujin_ocs, version: indigo, uri: 'https://github.com/yujinrobot/yujin_ocs.git'} #- git: {local-name: kobuki_msgs, version: indigo, uri: 'https://github.com/yujinrobot/kobuki_msgs.git'} #- git: {local-name: kobuki_core, version: indigo, uri: 'https://github.com/yujinrobot/kobuki_core.git'} #- git: {local-name: kobuki, version: indigo, uri: 'https://github.com/yujinrobot/kobuki.git'} #- git: {local-name: kobuki_desktop, version: indigo, uri: 'https://github.com/yujinrobot/kobuki_desktop.git'} - git: {local-name: yocs_msgs, version: release/0.6-kinetic, uri: 'https://github.com/yujinrobot/yocs_msgs.git'} - git: {local-name: yujin_ocs, version: kinetic, uri: 'https://github.com/yujinrobot/yujin_ocs.git'} - git: {local-name: kobuki_msgs, version: kinetic, uri: 'https://github.com/yujinrobot/kobuki_msgs.git'} - git: {local-name: kobuki_core, version: kinetic, uri: 'https://github.com/yujinrobot/kobuki_core.git'} - git: {local-name: kobuki, version: kinetic, uri: 'https://github.com/yujinrobot/kobuki.git'} - git: {local-name: kobuki_desktop, version: kinetic, uri: 'https://github.com/yujinrobot/kobuki_desktop.git'} #- git: {local-name: capabilities, version: master, uri: 'https://github.com/osrf/capabilities.git'} #- git: {local-name: std_capabilities, version: master, uri: 'https://github.com/osrf/std_capabilities.git'}
$ wstool init src -j5 kobuki.rosinstall #如果找不到kobuki.rosinstall,自行在其他文件夹中找一下$ source ~/rocon/devel/setup.bash$ rosdep install --from-paths src -i -y$ catkin_make

(3) turtlebot

$ mkdir ~/turtlebot$ cd ~/turtlebot$ wget https://raw.github.com/yujinrobot/yujin_tools/master/rosinstalls/indigo/turtlebot.rosinstall$ vim turtlebot.rosinstall #参照turtlebot.rosinstall文件内容,修改后在进行。 修改为:
################################################################################ If no debs, overlay on top of the kobuki, rocon and ecl rosinstallers. # ############################################################################## #- git: { local-name: turtlebot_msgs, version: indigo, uri: 'https://github.com/turtlebot/turtlebot_msgs.git'} #- git: { local-name: turtlebot_create, version: indigo, uri: 'https://github.com/turtlebot/turtlebot_create.git'} #- git: { local-name: turtlebot, version: indigo, uri: 'https://github.com/turtlebot/turtlebot.git'} #- git: { local-name: turtlebot_apps, version: indigo, uri: 'https://github.com/turtlebot/turtlebot_apps.git'} #- git: { local-name: turtlebot_interactions, version: indigo, uri: 'https://github.com/turtlebot/turtlebot_interactions.git'} #- git: { local-name: turtlebot_simulator, version: indigo, uri: 'https://github.com/turtlebot/turtlebot_simulator.git'} #- git: { local-name: turtlebot_create_desktop, version: indigo, uri: 'https://github.com/turtlebot/turtlebot_create_desktop.git'} - git: { local-name: turtlebot_msgs, version: indigo, uri: 'https://github.com/turtlebot/turtlebot_msgs.git'} - git: { local-name: turtlebot_create, version: indigo, uri: 'https://github.com/turtlebot/turtlebot_create.git'} - git: { local-name: turtlebot, version: kinetic, uri: 'https://github.com/turtlebot/turtlebot.git'} - git: { local-name: turtlebot_apps, version: indigo, uri: 'https://github.com/turtlebot/turtlebot_apps.git'} - git: { local-name: turtlebot_interactions, version: indigo, uri: 'https://github.com/turtlebot/turtlebot_interactions.git'} - git: { local-name: turtlebot_simulator, version: indigo, uri: 'https://github.com/turtlebot/turtlebot_simulator.git'} - git: { local-name: turtlebot_create_desktop, version: kinetic, uri: 'https://github.com/turtlebot/turtlebot_create_desktop.git'}
$ wstool init src -j5 turtlebot.rosinstall #如果找不到turtlebot.rosinstall,自行在其他文件夹中找一下$ source ~/kobuki/devel/setup.bash$ rosdep install --from-paths src -i -y$ catkin_make

转载于:https://www.cnblogs.com/hgl0417/p/8979896.html

你可能感兴趣的文章
Unity3D热更新之LuaFramework篇[05]--Lua脚本调用c#以及如何在Lua中使用Dotween
查看>>
JavaScript空判断
查看>>
洛谷 P1439 【模板】最长公共子序列(DP,LIS?)
查看>>
python timeit
查看>>
Wireless Network 并查集
查看>>
51nod 1019 逆序数
查看>>
20145202马超《JAVA》预备作业1
查看>>
云推送注意(MSDN链接)
查看>>
OpenMobile's Application Compatibility Layer (ACL)
查看>>
竞价广告系统-广告检索
查看>>
[转]基于.NET平台常用的框架整理
查看>>
Symbian (Read Inbox)读取收件箱的内容
查看>>
Metro Style app :浏览器扩展
查看>>
linux的kernel是怎样工作的(TI_DM36X_ARM系统)(1)
查看>>
[luogu4310] 绝世好题 (递推)
查看>>
[luogu3203 HNOI2010] 弹飞绵羊 (分块)
查看>>
mui搜索框 搜索点击事件
查看>>
超链接样式设置(去下划线)(转)
查看>>
2016012003+陈琦+散列函数的应用及其安全性
查看>>
Android 状态栏通知Notification、NotificationManager详解
查看>>