Example Code

Converting Between Arcade Steering and Tank Steering

This document describes the process of converting your FTC teleop VI between arcade steering and tank steering.

1. Open FTCTeleopBasic.vi. (<Program Files>\National Instruments\LabVIEW 2009\examples\FTC Toolkit\Templates)
2. In the true case of the case structure, delete the two blue integer wires connected between FTC Robot

Status.vi and Calculate Power from Joystick.vi. See below.

Arcade_mode.png

no_wires.png
3. Click the polymorphic VI selector of the Calculate Power from Joystick VI, where it says Arcade, and select

Tank.
4. Connect the Y output of the FTC Robot Status VI to the Left Joystick input of the Calculate Power from

Joystick VI.

5. Connect the Y2 output of the FTC Robot Status VI to the Right Joystick input of the Calculate Power from

Joystick VI.

6. See result below.

Tank__mode.png
6. Done!

Tanya Visser
National Instruments
LabVIEW Group Manager

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors