NatNet
-decode
Decode NatNet
messages in Rust.
NatNet
is the software solution supporting OptiTrack
many offerings. Since motion tracking data is multicast it can be decoded
in any language and this crate is a Rust (unofficial!) implementation.
Example
use NatNet;
use Version;
let mut data = Vec new;
// Fill data here
// ...
// We can then decode this:
let parsed = unpack_with;
// Do stuff with parsed
println!;
Acknowledgement
This crate is heavily inspired by python-optirx and test data is borrowed with permission.