Skip to content

Instantly share code, notes, and snippets.

@omangin
Last active February 18, 2016 22:54
Show Gist options
  • Save omangin/39330b41f248fc502d16 to your computer and use it in GitHub Desktop.
Save omangin/39330b41f248fc502d16 to your computer and use it in GitHub Desktop.
Baxter cheat sheet

Baxter cheat sheet

Useful links

Facts

  • The ROS core is running on the robot, you just have to connect to it.
  • We use a separate ethernet card to connect the computer to the robot. That way the robot is not connected to the general university network.
    • Use link-local configuration for the computer-robot interface. In other words the computer and the robot each find a free IP address (wikipedia/Link-local_address.
    • Baxter is automatically discovered through zeroconf as baxter.local. (On ubuntu see: HowToZeroconf).
    • Typically you only have to set baxter_hostname="baxter.local" and your_ip="$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)" in the baxter.sh file. Replace eth0 by the interface connected to Baxter.

Quick reminders

  • (Un/)Tuck:
    rosrun baxter_tools tuck_arms.py -t # and -u
  • Enable / Disable:
    rosrun baxter_tools enable_robot.py -e # and -d
  • Cameras: through topics
    /cameras/head_camera/image
    /cameras/right_hand_camera/image
    /cameras/left_hand_camera/image
    
  • Screen: just push images to /robot/xdisplay or execute
    rosrun baxter_examples xdisplay_image.py --file=image.png`

Collaboration

@alecive
Copy link

alecive commented Feb 18, 2016

I cannot edit it. I won!
Let's go full stack 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment