Ros-indigo-desktop-full Installing to ubuntu14.04

Source: Internet
Author: User

I. Installing ROS

1. Configure the Ubuntu software repository. (Can not be configured).

Configure your Ubuntu software repository (repositories) to allow three installation modes of "restricted", "universe" and "Multiverse". You can follow the configuration guide in Ubuntu to complete the configuration

2. Add sources.list, mainly to create the Ros installation source. The path is as follows:/etc/apt/sources.list.d/ros-latest.list,

' echo "Deb Http://packages.ros.org/ros/ubuntu $ (LSB_RELEASE-SC) main" >/etc/apt/sources.list.d/ Ros-latest.list'

When you are done, you can view the following commands:

[Email protected]:~$ vim/etc/apt/sources.list.d/ros-latest.list ( Add the content below )

3. Add keys

[Email protected]:~$ sudo apt-key adv--keyserver HKP://pool.sks-keyservers.net--recv-key 0xb01fa116 

4. Install Ros Desktop full version

First, ensure that the index source of the package is up-to-date

[Email protected]:~$ sudo apt-get update

If you are using Ubuntu 14.04, Install only the following tool to fix dependency issues:

[Email protected]:~$ sudo apt-get Install Libgl1-mesa-dev-lts-utopic

Full Desktop Installation: (recommended) includes Ros, RQT, Rviz, general purpose robotic libraries, 2d/3d emulators, navigation, and 2d/3d sensing capabilities.

In trusty indigo defaults to using Gazebo 2, if you need to upgrade to Gazebo 3, check out these instructions on how to upgrade the Gazebo emulator.

[Email protected]:~$ sudo apt-get install Ros-indigo-desktop-full (i installed here is the full desktop version)

Desktop Installation: contains Ros, RQT, Rviz, and general-purpose robotic functions libraries.

[Email protected]:~$ sudo apt-get Install Ros-indigo-desktop

Basic Installation: contains Ros core packages, build tools, and communication-related libraries, without GUI tools.

[Email protected]:~$ sudo apt-get install ros-indigo-ros-base

Single Package Installation: You can also install a specific ROS package (using the package name to replace the following packages):

    [Email protected]:~$ sudo apt-get install ros-indigo-Package    For example:   [email protected]:~$ sudo apt -Get install ros-indigo-slam-gmapping

To find available packages, run:

[Email protected]:~$ apt-cache Search Ros-indigo

After installing the full version of the desktop:

5. Initialize ROSDEP

You also need to initialize the ROSDEPbefore you start using Ros. ROSDEP can be handy when you need to compile some source code to install some system dependencies, but also some of the ROS core functional components necessary tools

[Email protected]:~$ sudo rosdep init[email protected]:~$ rosdep Update

After execution, the following is done:

6 Environment settings

If the ROS environment variable is automatically configured (that is, added to the bash session) every time a new terminal is opened, it will be much more convenient:

" Source/opt/ros/indigo/setup.bash " >> ~/~/.BASHRC
[Email protected]:~$ Vim/opt/ros/indigo/setup.bash

The same current user's. Bashre script adds the ROS environment configuration path in one step:

You can also configure only the current terminal to support ROS environment variables:

[Email protected]:~$ Source/opt/ros/indigo/setup.bash

7. Installing Rosinstall

Rosinstall is a separate, common command-line tool in Ros that allows you to download many source trees for a Ros package with a single command.

To install this tool on Ubuntu, please run:

[Email protected]:~$ sudo apt-get Install Python-rosinstall

8.Build Farm Status

The various packages that are installed are built with the Ros build farm. The compilation status of various standalone packages can be viewed in http://www.ros.org/debbuild/indigo.html

This is the end of the 9.ros installation. If you want to test whether the installation is working properly, check out my next blog post: First Test of ROS installation:

Ros-indigo-desktop-full installation to ubuntu14.04

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.