![Kauai Labs navX2-MXP User Manual Download Page 43](http://html1.mh-extra.com/html/kauai-labs/navx2-mxp/navx2-mxp_user-manual_3634856043.webp)
Examples
Field-Oriented Drive (FRC)
Teleop.vi
The Teleop.vi is modified to feed the current navX-sensor “Yaw” angle reading to the Holonomic Drive
VI, which rotates the joystick X/Y coordinates by the gyro angle (and thus implements FieldCentric drive
control). Additionally, if a driver joystick button is pressed, the navX-sensor “Yaw” angle is reset to zero.
The navX Device TypeDef is passed to the Teleop.vi via a VI input terminal.
40