This C++ class, NatNetClient
, facilitates communication with the NatNet server and supports standard functionalities as seen in OptiTrack's SampleClient.cpp.
It allows you to create custom "DataHandler" making the communication faster and allowing you to read unlabled markers detected by the OptiTrack.
This lilbrary is used in my other project 'NatRos' found here.
To compile and run the program on Linux:
- Navigate to the
/NatCpp
folder. - Ensure you have the necessary build tools:
sudo apt-get install build-essential
- Add the library file to the system paths:
sudo cp lib/libNatNet.so /lib
- Build the program:
make clean make -f makefile
- Move to the build folder:
cd build
- Run the program:
./SampleClient
~ To do Instructions for building and running the program on Windows are not provided in this README. Please refer to the appropriate build and run steps for your development environment. it should not be that hard to mimick this repo and create a new one for
For a simple usage example of this class, refer to src/main.cpp.