Go to Post You have accomplished and learned more in the past six weeks than...a majority of people in the country. Be proud of your machine. Don't kick it to the gutter. Stand behind it. Believe in it. Give it your all. Take pride in your robot. :) - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 06-02-2011, 11:39
lscime lscime is offline
Registered User
AKA: Luke Scime
FRC #2614 (Mountaineer Area RoboticS (MARS))
Team Role: Alumni
 
Join Date: Jun 2008
Rookie Year: 2008
Location: Morgantown, WV
Posts: 73
lscime is a splendid one to beholdlscime is a splendid one to beholdlscime is a splendid one to beholdlscime is a splendid one to beholdlscime is a splendid one to beholdlscime is a splendid one to behold
Re: Switches to control mulitiple programs

In the past our team has used dipswitches (they look like the bank of small switches found on the front of the cRIO) to set our autonomous modes, in '09 we had a full 32 modes programmed , but just a regular collection of switches would work too (it would just be bulkier). Basically you wire these switches into the digital ins on the side car. Then in the code I would suggest converting the collection on/off switch values into a binary number (LabVIEW even has a function for this already). Then assign each of your different autonomous modes a number (in the range that you switches can supply) and have your autonomous code read the dipswitch values before it starts. If you end up with a lot of auto modes make sure to give your drivers a "playbook ."

-Luke
 


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 07:10.

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