From sdk-wiki
Revision as of 15:09, 29 July 2014 by Sdkuser (talk | contribs) (Changed protection level for "Development Workstation Setup Instructions": Setting Permissions for (almost all) Pages - editable and moveable by all logged in users ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed use)
Contents
Prerequisites
- A developer workstation meeting the minimum system requirements is available for use.
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="http://releases.ubuntu.com/precise/">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 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 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 thesetup.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