Difference between revisions of ""Hello World" with Baxter"

From Lofaro Lab Wiki
Jump to: navigation, search
(Created page with "This tutorial assumes that you have already setup the software environment for Baxter. This can be done by following the tutorial [http://wiki.lofarolabs.com/index.php/Setting...")
 
(Other Programs)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This tutorial assumes that you have already setup the software environment for Baxter. This can be done by following the tutorial [http://wiki.lofarolabs.com/index.php/Setting_up_software_environment_for_controlling_Baxter here.]
+
This tutorial assumes that the robot is powered on and that you have already setup the software environment for Baxter. This can be done by following the tutorial [http://wiki.lofarolabs.com/index.php/Setting_up_software_environment_for_controlling_Baxter here.]
  
=Software Requirements=
+
=Connect to robot and run the program=
;Operating System 
+
;Configuring ROS environment and connect to robot
:Linux Ubuntu 12.04 Precise is highly recommended. A great tutorial to help you install Ubuntu is [http://howtoubuntu.org/how-to-install-ubuntu-12-04-precise-pangolin here.]
+
:After setting up the software dependencies for ROS and Baxter manually configuring the environment and connecting to Baxter will be necessary. Rethink Robotics explains this well at steps 1 and 2 [http://sdk.rethinkrobotics.com/wiki/Hello_Baxter here.]
 +
:If you have setup LAN access to the robot ensure the baxter.sh file under the ros_ws directory indicates a local IP.
  
;ROS and Baxter SDK
+
;Enable robot and send commands
:Now that the Operating system has been installed, the development workspace dependencies and libraries must be installed, then the network. This first requires ROS and the Baxter SDK dependencies. See directions for doing this under steps 2-7 [http://sdk.rethinkrobotics.com/wiki/Workstation_Setup here.] It is recommended that you install ROS Groovy and the Baxter SDK Dependencies for Groovy.  
+
:After connection to the robot has been verified, navigate to the ros_ws directory and run the following code at terminal to enter the ROS environment:
 +
  <span style="color:#0000FF"> ./baxter.sh </span>
 +
:Next enable the robot. After running the following command you should hear Baxters joints turn on (by making a constant buzzing noise):
 +
  <span style="color:#0000FF"> rosrun baxter_tools enable_robot.py -e</span>
 +
:Finally Baxter will wave its arms if you run the code:
 +
  <span style="color:#0000FF"> rosrun baxter_examples joint_velocity_wobbler.py </span>
  
;Network Configuration
+
==Other Programs==
:For step 6 network configuration is required. LAN can be setup by following the located [[here.]]
+
:For other examples see here [http://sdk.rethinkrobotics.com/wiki/Example_Programs here.]
:Other network communication modes can be setup by following the Rethinks tutorial[http://sdk.rethinkrobotics.com/wiki/Networking here.]
+
:GMU Projects: [http://wiki.lofarolabs.com/index.php?title=ARCHR_(voodoo-style_controller)&action=edit&redlink=1 ARCHR Project]
 
+
==Congratulations==
+
:If step 7 is successful you have now successfully setup Baxters development environment! The next guide covers how to get Baxter to wave [["Hello!"]]
+

Latest revision as of 02:07, 2 December 2014

This tutorial assumes that the robot is powered on and that you have already setup the software environment for Baxter. This can be done by following the tutorial here.

Connect to robot and run the program

Configuring ROS environment and connect to robot
After setting up the software dependencies for ROS and Baxter manually configuring the environment and connecting to Baxter will be necessary. Rethink Robotics explains this well at steps 1 and 2 here.
If you have setup LAN access to the robot ensure the baxter.sh file under the ros_ws directory indicates a local IP.
Enable robot and send commands
After connection to the robot has been verified, navigate to the ros_ws directory and run the following code at terminal to enter the ROS environment:
  ./baxter.sh 
Next enable the robot. After running the following command you should hear Baxters joints turn on (by making a constant buzzing noise):
  rosrun baxter_tools enable_robot.py -e
Finally Baxter will wave its arms if you run the code:
  rosrun baxter_examples joint_velocity_wobbler.py 

Other Programs

For other examples see here here.
GMU Projects: ARCHR Project