-
Notifications
You must be signed in to change notification settings - Fork 6
Running Example Research SDK Programs
Rob Linsalata edited this page May 30, 2013
·
4 revisions
- You have completed all of the Getting Started - Setup Guide instructions for setting up your robot and development machine.
- This includes all steps through Installing the RSDK on your computer.
- The developer workstation has been connected to Baxter and connectivity has been validated - instructions here.
- You have successfully commanded Baxter from a sample program running on the development workstation. Congratulations!
-
Initialize your environment:
For each new Terminal, substitute your robot's hostname or IP address for<robot_hostname>
, and your development machine's in for<your_computer_hostname>
:$ cd ~/git/sdk-examples $ ./init.sh <robot_hostname> $ export ROS_HOSTNAME=<your_computer_hostname>
-
Build all the example code (only need to do this once):
$ rosmake baxter --pre-clean
Pick from any of the examples on the Example Programs page.
- To run an example, use:
Tip: Package names for most of the examples can be found under the 'sdk-examples/baxter/examples' folder. Use <Tab> to Auto-Complete names.
$ rosrun <example_package> <example_program> [optional arguments]