Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Arcade Drive in Autonomous mode and Tank Drive in Teleop mode? (http://www.chiefdelphi.com/forums/showthread.php?t=91785)

qpang 14-02-2011 12:07

Arcade Drive in Autonomous mode and Tank Drive in Teleop mode?
 
In Labview, can we keep the Autonomous code as provided, which uses Arcade Drive & 2 motors, but in Teleop mode, use Tank Drive to drive 4 motors?

Alan Anderson 14-02-2011 12:44

Re: Arcade Drive in Autonomous mode and Tank Drive in Teleop mode?
 
Simple answer: yes.

The number of motors is actually set in Begin when the drive motors are opened. The default project uses Open 2 Motor Drive. You can replace that with Open 4 Motor Drive.

Once you've done that, any of the drive functions will control it appropriately. Arcade Drive and Tank Drive do exactly what they should. (If you've built a holonomic drivebase with mecanum or angled omniwheels, Holonomic Drive will work too.)


All times are GMT -5. The time now is 09:16.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi