Skip to content

Display Image Example

rethink-bbenoit edited this page Nov 19, 2013 · 7 revisions

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 baxter_examples xdisplay_image.py --file=`rospack find baxter_examples`/share/images/baxterworking.png

Replace the --file argument with the path to your own image.

To see help for the xdisplay_image program, run:

$ rosrun baxter_examples 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