Go to Post Kids don't just decide they want to build robots then build the next Einstein champion the next year. - kjolana1124 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2011, 12:07
qpang qpang is offline
Registered User
no team
 
Join Date: Mar 2008
Location: mississippi
Posts: 19
qpang is an unknown quantity at this point
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2011, 12:44
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
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.)
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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