![Kauai Labs navX2-MXP User Manual Download Page 45](http://html1.mh-extra.com/html/kauai-labs/navx2-mxp/navx2-mxp_user-manual_3634856045.webp)
Examples
Rotate to Angle (FRC)
For more details on this approach, please visit Chief Delphi, including this
.
FRC C++ Example
Full C++ source code on GitHub
FRC Java Example
Full Java Source code on GitHub
FRC LabView Example
The navX-sensor Rotate to Angle LabView example shows how to make small modifications to the
LabView “FRC RoboRIO Robot Project” using the “Mecanum Robot” configuration to rotate the robot
to a given angle.
RobotMain.vi
Place the NavX main vi on the block diagram and set it up to your needs. The default sample rate is
50Hz. You may need to process faster for your situation. For the SPI, I2C and USB connections the max
sample rate is 200Hz.
42