Go to Post Someone Photoshopping Heidi...............now there's a switch! - Jay H 237 [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 03-02-2012, 22:43
kully kekaula kully kekaula is offline
Registered User
FRC #3880
 
Join Date: Jan 2012
Location: Hawaii
Posts: 7
kully kekaula is an unknown quantity at this point
Two Drive System VIs

My team wants to use two different drive systems: A normal holonomic drive for driving around the field and a secondary tank drive for when the bot is on the bridge. I have no idea how to execute this kind of program and was hoping someone could lend some input. We want to be able to push or hold down a button and the drive system will switch to the secondary drive VI. Any input would be appreciated. Thanks.
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2012, 23:27
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Two Drive System VIs

Pretty straight-forward.

You use a Case Structure (from the Programming palette) with only the Holonomic vi in the default False Case and only the Tank Drive vi in the True Case.
Everything else is outside and passed in to be shared by the two cases. The same drive gets wired into the Case statement to both.
Control the case by holding or latching a button input.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 03-02-2012 at 23:53.
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 08:50.

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