Skip to content

Installing the Research SDK

Rob Linsalata edited this page Aug 16, 2013 · 5 revisions

Prerequisites

Outcome of this step

  • You have installed the Rethink RSDK on the Development Workstation.

Installing the Research SDK

1. Install Dependencies

  • Open a Terminal and install the following 3rd-party dependencies
    $ sudo apt-get install ros-electric-control ros-electric-joystick-drivers ros-electric-geometry
    $ sudo apt-get install python-argparse

2. Checkout RSDK Code

  • In your Terminal window, create a directory for git in a location of your choice, then cd to that directory.
    $ mkdir git
    $ cd git
  • Clone the new repo:
    $ git clone [email protected]:RethinkRobotics/sdk-examples.git
  • Go to the sdk-examples subdirectory created by the clone
    $ cd sdk-examples
  • Make sure you have the proper tag which is currently v0.6.1
    $ git tag -l
    
    $ git checkout v0.6.1

3. Initialize the RSDK Environment & Build

  • Run the init.sh script and provide the robot's hostname as an argument. Optionally, provide the ROS distribution you wish to use (defaults to latest deb installed version).
    $ ./init.sh <Baxter Hostname> [ROS Distro]
  • Go to the baxter subdirectory
    $ cd baxter
  • Build the examples
    $ rosmake baxter --pre-clean
  • Note: if the development workstation hostname is not resolvable to an IP address from the robot, then you will have to set the ROS_IP environment variable. Our example uses 192.168.1.100 but please substitute your IP address for your development workstation. Use 'ifconfig' to get this IP address.
    $ export ROS_IP=192.168.1.100

Next Steps

Baxter Research Robot Hardware Installation Guide

Clone this wiki locally