Ubuntu14.04 Installing and configuring Ros Indigo

Source: Internet
Author: User

Ubuntu installation Ros Tutorial 1, configuring Ubuntu software source

Configuring Ubuntu requires a software source that accepts restricted, universe, and multiverse, which can be configured according to the following link:

Https://help.ubuntu.com/community/Repositories/Ubuntu

Configured as shown, these configurations are, in general, default.


2. Add software Source to Sources.list

The code for setting up the software source is as follows:

' echo "Deb Http://packages.ros.org/ros/ubuntu trusty main" >/etc/apt/sources.list.d/ros-latest.list '

Once the correct software source is added, the operating system knows where to download the program and automatically installs the software according to the command.

3. Set the key
$ wget http:///packages.ros.org/ros.key-o-| sudo apt-key add-
4. Installation

First verify that your Debian package index is up-to-date. The Debian program is a cooperative organization dedicated to creating a free operating system. The operating system that we created is named Debian. The Debian system currently uses the Linux kernel or the FreeBSD kernel.

$ sudo apt-get update

There are many different function libraries and tools in Ros, which are recommended to be fully installed or installed separately according to your requirements. Fully installed tools include Ros, RQT, visual environment Rviz, General Robotics Library Robot-generic libraries, 2D (e.g. stage) and 3D (e.g. gazebo) simulation environment 2d/3d simulators, The navigation Feature Pack sets navigation and 2d/3d (move, position, map drawing, robotic arm control), perceptual library perception (such as vision, LiDAR, rgb-d camera, etc.).

$ sudo apt-get Install Ros-indigo-desktop-full
5. Initialize ROSDEP

ROSDEP not only makes it easier for you to install some system-dependent packages, but some of the main components of ROS also need to be ROSDEP.

$ sudo rosdep init$ rosdep update
6, Installation Rosinstall

The Rosinstall command is a very frequent command that allows you to easily download many Ros packages using this command.

$ sudo apt-get Install Python-rosinstall
7. Setting up the environment

Add ROS environment variables so that when you open your new shell, your bash session will automatically add environment variables.

" Source/opt/ros/indigo/setup.bash " >> ~/~/.BASHRC

Ubuntu14.04 Installing and configuring Ros Indigo

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.