The navX-MXP Linux Library is useful for integrating with video processors such as the Raspberry-PI and the Jetson TK1 and TX1.
To use the library, you can checkout the source code with Git. Online help is also available.
After checking out the source code with Git into a directory on your Linux OS, compile the library using CMake.
The file Timestamp.cpp demonstrates how to integrate the library into your application; you will need to identify the Linux serial port name to use, as follows:
AHRS ahrs = AHRS("/dev/ttyACM0");
Sensor data values can be retrieved after the completion of the AHRS constructor.