Development Workstation Setup Instructions

From sdk-wiki
Jump to: navigation, search


Outcome of this step

  • Development workstation running stock ROS Groovy

Ubuntu 12.04 - ROS Groovy - Installation Steps

1. Install Ubuntu

Install Ubuntu 12.04 LTS. You can find the appropriate image <a href="">here</a>.

2. Install ROS

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.
   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 precise main" > /etc/apt/sources.list.d/ros-latest.list'
  • Set up your keys
    $ wget -O - | sudo apt-key add -
  • Make sure you have re-indexed the server
    $ sudo apt-get update
  • Install ROS Groovy:
   Choose the " Desktop-Full Install (Recommended)" variant of ROS Groovy -- this includes ROS, rqt gui tools, rviz, robot-generic libraries, 2D/3D simulators, navigation and 2D/3D perception  
    $ sudo apt-get install ros-groovy-desktop-full
  • Install 3rd-Party libraries:
   Install additional ROS packages:
    $ sudo apt-get install ros-groovy-control ros-groovy-joystick-drivers
   If argparse is not installed on the development workstation, install it with the following command:  
    $ sudo apt-get install python-argparse
  • Initialize rosdep (ROS system dependency tool)
    $ sudo rosdep init 
    $ rosdep update
  • (Optional) 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

Next Steps

Setting up github