使用ubuntuKylin17.04安装

参考了此篇文章:SLAM: Ubuntu16.04安装ROS-kinetic

重复官方链接的步骤也没有成功。

此后发现4.10的内核,不能使用Kinetic。

此后安装成功,完全按照以下步骤来即可:

页面链接:http://wiki.ros.org/lunar/Installation/Ubuntu

1. Installation

Configure your Ubuntu repositories

Configure your Ubuntu repositories to allow "restricted," "universe," and "multiverse." You canfollow the Ubuntu guide for instructions on doing this.

Setup your sources.list

Setup your computer to accept software from packages.ros.org.

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

Mirrors

Source Debs are also available

Set up your keys

sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116

If you experience issues connecting to the keyserver, you can try substitutinghkp://pgp.mit.edu:80 orhkp://keyserver.ubuntu.com:80 in the previous command.

Installation

First, make sure your Debian package index is up-to-date:

sudo apt-get update

There are many different libraries and tools in ROS. We provided four default configurations to get you started. You can also install ROS packages individually.

In case of problems with the next step, you can use following repositories instead of the ones mentioned aboveros-shadow-fixed

  • Desktop-Full Install: (Recommended) : ROS, rqt, rviz, robot-generic libraries, 2D/3D simulators, navigation and 2D/3D perception

  • sudo apt-get install ros-lunar-desktop-full

    or click here

    Desktop Install: ROS, rqt, rviz, and robot-generic libraries

  • sudo apt-get install ros-lunar-desktop

    or click here

    ROS-Base: (Bare Bones) ROS package, build, and communication libraries. No GUI tools.

  • sudo apt-get install ros-lunar-ros-base

    or click here

    Individual Package: You can also install a specific ROS package (replace underscores with dashes of the package name):

  • sudo apt-get install ros-lunar-PACKAGE

    e.g.

  • sudo apt-get install ros-lunar-slam-gmapping

To find available packages, use:

apt-cache search ros-lunar

如果出现了没有安装成功,重新apt-get update ,重新输入一次安装命令,则可以顺利安装完成。

2. 测试

Test your Lunar Ros......................

Initialize rosdep

Before you can use ROS, you will need to initialize rosdep. rosdep enables you to easily install system dependencies for source you want to compile and is required to run some core components in ROS.

sudo rosdep init
rosdep update

测试成功...........................

Environment setup

It's convenient if the ROS environment variables are automatically added to your bash session every time a new shell is launched:

echo "source /opt/ros/lunar/setup.bash" >> ~/.bashrc
source ~/.bashrc

If you have more than one ROS distribution installed, ~/.bashrc must only source thesetup.bash for the version you are currently using.

If you just want to change the environment of your current shell, instead of the above you can type:

source /opt/ros/lunar/setup.bash

If you use zsh instead of bash you need to run the following commands to set up your shell:

echo "source /opt/ros/lunar/setup.zsh" >> ~/.zshrc
source ~/.zshrc

Getting rosinstall

rosinstall is a frequently used command-line tool in ROS that is distributed separately. It enables you to easily download many source trees for ROS packages with one command.

To install this tool on Ubuntu, run:

sudo apt-get install python-rosinstall

Build farm status

The packages that you installed were built by the ROS build farm. You can check the status of individual packages here.

ROS:使用ubuntuKylin17.04安装ROS赤xi龟相关推荐

  1. linux怎么安装ros系统,ubuntu14.04安装ROS indigo的详细图解步骤

    ROS(RobotOperating System)为开源的机器人操作系统,Ubuntu版本中的ROS的安装步骤如下: 1.配置Ubuntu知识库 安装ROS前要先进行Ubuntu知识库的配置,按照& ...

  2. ubuntu16.04 安装ros

    ubuntu16.04 安装ros 2018年04月30日 22:44:11 文刀过客 阅读数:512 标签: ros的安装 更多 个人分类: ROS 主要参考了以下两个帖子: https://blo ...

  3. Ubuntu 20.04安装Ros Noetic及Ubuntu 18.04安装ROS Melodic(两版本详细填坑)

    Ubuntu 20.04安装Ros Noetic及18.04安装ROS Melodic 表1-1 ROS的历史版本 1. 设置安装源 2. 添加秘钥 3. 更新列表 4. 开始安装 5. 配置ROS环 ...

  4. Ubuntu18.04安装ROS Melodic(解决网络原因,先将所需压缩包下载到本地,然后rosdep update)

    Ubuntu18.04安装ROS Melodic(解决网络原因,先将所需压缩包下载到本地,然后rosdep update) 一.ROS介绍 机器人操作系统(Robot Operating System ...

  5. ubuntu20.04安装ROS及常见问题

    ubuntu20.04安装ROS及常见问题 一.ubuntu安装参考(双系统) 1.ios镜像官网下载地址: https://releases.ubuntu.com/?_ga=2.239339907. ...

  6. Ubuntu18.04安装ROS最后的rosdep update不成功解决方案(亲测可行)

    Ubuntu18.04安装ROS最后的rosdep update不成功解决方案(亲测可行) 问题描述 很多人在安装ROS时会卡在最后一步rosdep update上面,虽然这一步不成功并不影响小海龟的 ...

  7. Ubuntu16.04安装ROS kinetic以及标定工具Kalibr流程

    Ubuntu16.04安装ROS kinetic以及标定工具Kalibr流程 一.安装ROS Kinetic 二.安装kalibr 编译期间可能遇到的问题及解决方案: 一.安装ROS Kinetic ...

  8. Ubuntu16.04 安装ROS Kinetic 究级详细教程

    Ubuntu16.04 安装ROS Kinetic 究级详细教程 1. "软件和更新"进行配置 1.1 Ubuntu Software 1.2 Other Software 2. ...

  9. ubuntu16.04安装ROS Kinetic步骤及安装出现的问题解决

    ubuntu16.04安装ROS Kinetic步骤及安装出现的问题解决 ROS kinetic官网:http://wiki.ros.org/kinetic/Installation/Ubuntu 1 ...

最新文章

  1. 斯坦福连续发了四年的 AI 报告,今年讲了什么?
  2. miui怎么用第三方图标包_空气能热水器怎么用?控制面板的图标详解来了
  3. c语言程序设计案例教程肖利群,C语言程序设计案例教程
  4. Linux查看文件内容的几种方式
  5. 如何在Delphi TImageList 中使用 透明 png 图标
  6. java发送qq邮件
  7. QT编写的数据转曲线工具
  8. 2020年日历电子版(打印版)_2020年日历全年表黄历-2020年日历打印版下载 A4横版带农历--pc6下载站...
  9. 幼儿园调查过程怎么写_幼儿园家长的调查问卷话术
  10. 全国哀悼日,让网站全站变成灰色的CSS代码
  11. 行星介绍html页面布局,css3 html5实现太阳系行星公转动画实例
  12. 微信安装旧版本方法,版本过低,请升级最新版本
  13. matlab表达式中的省略号,使用正则表达式匹配省略号
  14. 人生不过一场旅行,你路过我,我路过你
  15. IDEA 去掉 pom 文件标签名称下划线
  16. 企业微信服务商集成解决方案
  17. Vue 集成 stylus和stylus-loader
  18. 洛谷P5804 [SEERC2019]Absolute Game
  19. 国科大计算机应用技术导师,北京航空航天大学计算机学院计算机应用技术导师介绍:吴威...
  20. google浏览器Chrome离线安装扩展主题皮肤教程

热门文章

  1. centos6.8安装node
  2. python--列表与字典
  3. ORACLE基础应用学习-- 各种故障的恢复方法总结
  4. ubuntu 下 安装 sublime Text3
  5. 数据库ORA-00600 [15160]处理
  6. Java常见的系统路径与获取方法
  7. 古典、SOA、传统、K8S、ServiceMesh
  8. 关于链表的面试题(持续更新)
  9. web容器启动过程与web.xml
  10. 缓存淘汰算法 (http://flychao88.iteye.com/blog/1977653)