Switch branches/tags
Nothing to show
Find file History
adolfoapolloni Replace package placeholder with actual dependencies
Prior to this commit users had to replace the package placeholder
every time they ran Core C and Core CPP examples. This commit
eliminates this hassle.
Latest commit 203fab1 May 8, 2017



This is an example that uses OpenGL to enable a lightweight application for viewing video data.

It receives ps_image_data_msg from a node publishing to the bus, and renders the image data contained in the message using OpenGL libraries.

Note that it binds to the first image data publisher it finds, and that it is expecting PIXEL_FORMAT_RGB24.

Hardware requirements

Video device


Packages: libglib2.0-dev freeglut3-dev

To install on Ubuntu:

sudo apt-get install libglib2.0-dev freeglut3-dev

Building and running the node

$ cd image_data_viewer
$ make
$ ./bin/polysync-image-data-viewer 

For more API examples, visit the "Tutorials" and "Development" sections in the PolySync Help Center here.