文档章节

ROS-Indigo版在Ubuntu上的安装

openthings
 openthings
发布于 2015/05/04 10:46
字数 774
阅读 9626
收藏 0

Ubuntu install of ROS Indigo

We  are building Debian packages for several Ubuntu platforms, listed  below. These packages are more efficient than source-based builds and  are our preferred installation method for Ubuntu.

If you need to install from source (not recommended), please see source (download-and-compile) installation instructions.

If you rely on these packages, please support OSRF.

These packages are built and hosted on infrastructure maintained and paid for by the Open Source Robotics Foundation,  a 501(c)(3) non-profit organization. If OSRF were to receive one penny  for each downloaded package for just two months, we could cover our  annual costs to manage, update, and host all of our online services.   Please consider donating to OSRF today.

目录

  1. Ubuntu install of ROS Indigo

    1. Configure your Ubuntu repositories

    2. Setup your sources.list

    3. Set up your keys

    4. Installation

    5. Initialize rosdep

    6. Environment setup

    7. Getting rosinstall

    8. Build farm status

    9. Installation

    10. Tutorials

Installation

Configure your Ubuntu repositories

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

Setup your sources.list

Setup your computer to accept software from packages.ros.org. ROS Indigo ONLY supports Saucy (13.10) and Trusty (14.04) for debian packages.

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

Mirrors

Set up your keys

  • wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -O - | sudo apt-key add -

Installation

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

  • sudo apt-get update

    For more information on this issue see this answers.ros.org thread or this launchpad issue

    • /!\ Do not install these packages if you are using 14.04, it will destroy your X server:

      sudo apt-get install xserver-xorg-dev-lts-utopic mesa-common-dev-lts-utopic libxatracker-dev-lts-utopic libopenvg1-mesa-dev-lts-utopic libgles2-mesa-dev-lts-utopic libgles1-mesa-dev-lts-utopic libgl1-mesa-dev-lts-utopic libgbm-dev-lts-utopic libegl1-mesa-dev-lts-utopic

      /!\ Do not install the above packages if you are using 14.04, it will destroy your X server

    • sudo apt-get install libgl1-mesa-dev-lts-utopic
    • If you are using Ubuntu Trusty 14.04.2 and experience dependency issues during the ROS installation, you may have to install some additional system dependencies.

      Alternatively, try installing just this to fix dependency issues:

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.

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

    Indigo uses Gazebo 2 which is the default version of Gazebo on Trusty and is recommended. If you need to upgrade to Gazebo 3 see these instructions about how to upgrade the simulator.

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

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

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

    • sudo apt-get install ros-indigo-PACKAGE

      e.g.

      sudo apt-get install ros-indigo-slam-gmapping
    • sudo apt-get install ros-indigo-ros-base

      or click here

    • sudo apt-get install ros-indigo-desktop

      or  click here

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

      or  click here

To find available packages, use:

apt-cache search ros-indigo

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/indigo/setup.bash" >> ~/.bashrc source ~/.bashrc

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

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

source /opt/ros/indigo/setup.bash

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 ROS build farm.  You can check the status of individual packages here.

Tutorials

Now, to test your installation, please proceed to the ROS Tutorials.


本文转载自:http://wiki.ros.org/indigo/Installation/Ubuntu

openthings
粉丝 311
博文 1117
码字总数 644109
作品 1
东城
架构师
私信 提问
ROS进阶学习的过程

环境的安装与配置 这里有第一次按照书上的方法进行安装的步骤,也有后面学习中遇到的问题,需要对ROS进行重新安装配置的过程。 ROS使用教程-关于安装 初次在ubuntu14上安装ros-indigo的过程,...

CSDNhuaong
2017/11/04
0
0
jetson TX1 Ubuntu16.04 64bit Ros-kinetic安装

官网教程:http://wiki.ros.org/NvidiaJetson/TX1      http://wiki.ros.org/indigo/Installation/Ubuntu 教程并不是很详细,踩了不少坑,下面是安装成功的过程。 Update your sources....

鱼非子
2018/07/26
0
0
基于Ubuntu 的 Parrot ARDrone 2.0的SDK安装以及ardrone_autonomy和tum_ardrone的安装和使用

经过了一个多星期的摸索,现在开始慢慢理解Parrot ARDrone 2.0的使用。现在总结一下遇到的问题,希望用这款无人机的人能够得到一些帮助,毕竟不能总是做一个伸手党。 Parrot ARDrone 2.0是法...

osgoodwu
2016/12/07
0
0
cartographer_ros 下使用hokuyo测试 (二)

https://google-cartographer-ros.readthedocs.io/en/latest/ https://github.com/googlecartographer/cartographerros 环境 : ubuntu14.04 + ros indigo 1. 下载hokuyo 驱动节点 sudo apt......

v7xyy
2017/10/26
0
0
[译]机器人操作系统简介:终极机器人应用框架(上)

[译]机器人操作系统简介:终极机器人应用框架 /** * 原文出处:https://www.toptal.com/robotics/introduction-to-robot-operating-system * @author dogstar.huang chanzonghuang@gmail.co......

暗夜在火星
2016/03/06
212
0

没有更多内容

加载失败,请刷新页面

加载更多

基础工具类

package com.atguigu.util;import java.sql.Connection;import java.sql.SQLException;import java.util.Properties;import javax.sql.DataSource;import com.alibaba.druid......

architect刘源源
今天
42
0
P30 Pro劲敌!DxO官宣新机:排行榜又要变

5月26日晚间,DxOMark官方推特预告,将在5月27日公布一款新机型的DxOMark评分,猜猜是哪款? 网友猜想的机型有:红米K20、谷歌Pixel 3a、索尼Xperia 1、诺基亚9 PureView等。 DxOMark即将公布...

linux-tao
昨天
15
0
Ubuntu18.04.2窗口过小不能自适应(二次转载)

解决Ubuntu在虚拟机窗口不能自适应 2018年09月06日 16:20:08 起不了名儿 阅读数 855 此博文转载:https://blog.csdn.net/nuddlle/article/details/77994080(原地址) 试了很多办法这个好用 ...

tahiti_aa
昨天
2
0
死磕 java同步系列之CountDownLatch源码解析

问题 (1)CountDownLatch是什么? (2)CountDownLatch具有哪些特性? (3)CountDownLatch通常运用在什么场景中? (4)CountDownLatch的初始次数是否可以调整? 简介 CountDownLatch,可以...

彤哥读源码
昨天
6
0
Nginx提供下载apk服务

有时候我们可能需要提供文件或者其他apk下载链接,通过 nginx 配置可以很简单地实现。 server {    listen 80;    server_name download.xxx.com;    root app;    locati...

Jack088
昨天
4
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部