felixdollack / ofx_vicon_udp_receiver

A udp class for use in openframeworks projects to receive vicon motion tracking data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ofx_vicon_udp_receiver

A udp class for use in openframeworks projects to receive vicon motion tracking data

This repository contains a c++ UDP class to receive vicon motion tracking data. The UDP portion of the code relies on openframeworks.

Dependencies

Example

ViconReceiver udp_receiver;    // create an instance of udp trigger

ofxUDPSettings settings;       // create udp settings to setup a receiver
settings.receiveOn(port);
settings.blocking = false;
udp_receiver.setup(settings);  // sets up the connection and starts the receiver thread
udp_receiver.updateData();     // copy received data from receive to read buffer
udp_receiver.getLatestData();  // return an instance of the read buffer
udp_receiver.stop();           // stop the receiver

About

A udp class for use in openframeworks projects to receive vicon motion tracking data

License:GNU General Public License v3.0


Languages

Language:C++ 100.0%