Skip to content

Display Image Example

Rob Linsalata edited this page Apr 26, 2013 · 1 revision

Display an image to Baxter's head

Summary

Use xdisplay_image to display an image to Baxter's head display.

Overview

Display an image (e.g. .png or .jpg) to Baxter's head display. Baxter display resolution is 1024 x 600 pixels.

Usage

Run xdisplay_image from an RSDK terminal session using:

$ rosrun head_control xdisplay_image.py --file=`rospack find head_control`/images/baxterworking.png

Replace the --file=<***> argument with the path to your own image.

To see help for the xdisplay_image program, run:

$ rosrun head_control xdisplay_image.py -h

xdisplay_image.py [ARGUMENTS]

-h, --help          This screen
-f, --file [PATH]   Path to image file to send

Documentation

Troubleshooting

For common issues specific to using xdisplay_image with Baxter, check out the Troubleshooting page.

Clone this wiki locally