navX-MXP libraries for use with the RoboRIO Libraries from WPI are available in each of the languages/development environments commonly used to development FIRST FRC robot applications:
These libraries provide access to navX-MXP via SPI, I2C and USB and UART – as well as USB and I2C interfaces to navX-Micro, and USB Interfaces to VMX-pi.
[Update: 2/2/2019 – Version 3.1.366 is now available – which is compatible with the 2019 FRC Release (2019.1.1). For more details on installation, see the page corresponding to your chosen development language. This build also contains a firmware update recommended if you are using the navX-MXP USB interface.]