You can install the library using pip install mvnx
The simplest way to run the tool is in the following way:
import mvnx
yourfile = mvnx.load('path/to/file.mvnx')
This creates an MVNX object, the data in which can then be read using standard Python dot notation, like so:
yourfile.orientation
yourfile.jointAngle
yourfile.angularVelocity
yourfile.segments
yourfile.joints
You can provide mvnx
a filepath to your .mvnx file and an output path, and it will read the info into a .npy file
Run it using: mvnx --file path/to/file.mvnx --output /path/to/output.npy
Note: the parser at present is doing no batch processing or multiprocessing when parsing the file into an object - it will read directly into memory, so be careful when parsing larger files as it can put load on your system.