Skip to content

Development Workstation Setup Instructions

Rob Linsalata edited this page Jun 3, 2013 · 9 revisions

Prerequisites

Outcome of this step

  • Development workstation running stock ROS Electric
    (Experimental: Development workstation running stock ROS Groovy)

Ubuntu 10.04 - ROS Electric - Installation Steps

1. Install Ubuntu

Install Ubuntu 10.04 LTS. You can find the appropriate image here: Ubuntu Release - Lucid.

2. Install ROS

Install ROS Electric for Ubuntu 10.04. Detailed instructions may be found on the ROS wiki here. The following is a short list, extracted from the ROS wiki, of what you need to do to get ready for the Baxter Research SDK.

  • Configure your Ubuntu repositories to allow "restricted," "universe," and "multiverse." You can follow the Ubuntu guide here for instructions on doing this.
    Note: Your installation of Ubuntu likely may be pre-configured to allow these repositories. You can skip this step if the above Ubuntu repositories are already included in your /etc/apt/sources.list file ("allowed" sources start with 'deb' and no '#', and end with the names above).

  • Add the ROS repositories to your sources.list

      $ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu lucid main" > /etc/apt/sources.list.d/ros-latest.list'
    
  • Set up your keys

      $ wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
    
  • Make sure you have re-indexed the ROS.org server

      $ sudo apt-get update
    
  • Install ROS Electric:
    Choose the " Desktop-Full Install (Recommended)" variant of ROS Electric -- this includes ROS, rx, rviz, robot-generic libraries, 2D/3D simulators, navigation and 2D/3D perception

        $ sudo apt-get install ros-electric-desktop-full  
  • Install 3rd-Party libraries:
    If argparse is not installed on the development workstation, install it with the following command:

      $ sudo apt-get install python-argparse
    
  • (Recommended Option) Set up the ROS environment so that the ROS environment variables are automatically added to your bash session every time a new shell is launched:

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

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

    To change your current environment (e.g. substituting <ros-distro>=electric):

      $ source /opt/ros/<ros-distro>/setup.bash
    

Next Steps

Setting up github


Alternative Install: Ubuntu 12.04 - ROS Groovy - Installation Steps

  • Install Ubuntu 12.04 LTS. You can find the appropriate image here.

  • Install ROS Groovy for Ubuntu 12.04. Detailed instructions may be found here. Following is a short list of what you need to do to get ready for the Baxter Research SDK.

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

  • Set up your sources.list

      $ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list'
    
  • Set up your keys

      $ wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
    
  • Make sure you have re-indexed the ROS.org server

      $ sudo apt-get update
    
  • Install ROS Groovy - choose Desktop-Full Install: (Recommended): this includes ROS, rx, rviz, robot-generic libraries, 2D/3D simulators, navigation and 2D/3D perception

      $ sudo apt-get install ros-groovy-desktop-full
    
  • Set up the ROS environment so that the ROS environment variables are automatically added to your bash session every time a new shell is launched

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

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

    To change your current environment (e.g. substituting <ros-distro>=groovy):

      $ source /opt/ros/<ros-distro>/setup.bash
    
  • If argparse is not installed on the development workstation, install it with the following command:

      $ sudo apt-get install python-argparse
    

Next Steps

Setting up github

Clone this wiki locally