Log in

View Full Version : Tank Drive


MechaKnight996
18-01-2014, 14:16
Hi, I'm not the best programmer and i need some help. If anyone could post an example or a link to an example of a working tank drive teleop program for FRC 2014. Thanks.

Ether
18-01-2014, 14:26
Hi, I'm not the best programmer and i need some help. If anyone could post an example or a link to an example of a working tank drive teleop program for FRC 2014. Thanks.

A working example comes with your FRC software development installation.

samfruth
18-01-2014, 14:26
Here is a screenshot of our current tank drive system, I hope it helps!

Alan Anderson
18-01-2014, 21:48
On the left side of LabVIEW's Getting Started window, you will see a "Support" tab. When you click it, one of the links is "Find FRC Examples..." which will open the NI Example Finder and show the FRC Robotics section.

On the "Tutorials" tab, you will want to read "Tutorial 7 - Integrating Examples into Robot Code".

Mark McLeod
18-01-2014, 22:11
Here's yet another Tank drive example:
http://team358.org/files/programming/ControlSystem2009-/LabVIEW/TankDriveExample.jpg

Alan Anderson
18-01-2014, 23:23
Here's yet another Tank drive example:

Notice that the only things making it Tank drive instead of the default Arcade drive are the use of the "Tank Drive" function and a second joystick. That second joystick will have to be opened in Begin, just like the first one, and they will both have to be given appropriate RefNum names.

MechaKnight996
20-01-2014, 12:47
Thank you for all your help.