Frequently Asked Questions

Are coding examples for the supported libraries available?
Example source code for various navX-MXP (and navX-Micro) capabilities are available for both for FRC and FTC Robotics Control Systems.

FRC Examples

This section provides example code for several common navX-MXP (and navX-Micro) applications used by FIRST FRC teams on their robots to add sophisticated navigation capabilities. These examples are in Java, C++ and LabVIEW.

  • Java/C++
    • When you run the setup program contained in the latest build, Java/C++ examples will be installed to subdirectories underneath home_directory>\navx-mxp\language>\examples (e.g., C:\Users\Robot\navx-mxp\cpp\examples).
  • LabVIEW
    • When you run the setup program contained in the latest build, LabVIEW examples are installed at:
      • LabVIEW Install Directory>\vi.lib\Rock Robotics\WPI\ThirdParty\Sensors\navX
    • The LabVIEW Install Directory is typically C:\Program Files (x86)\National Instruments\LabVIEW 2016.

FTC Examples

If you are looking for FTC examples, please see the navX-Micro Examples.

Last Updated 7 years ago

Please Wait!

Please wait... it will take a second!