View Single Post
  #15   Spotlight this post!  
Unread 23-02-2015, 16:28
MamaSpoldi's Avatar
MamaSpoldi MamaSpoldi is offline
Programming Mentor
AKA: Laura Spoldi
FRC #0230 (Gaelhawks)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Shelton, CT
Posts: 307
MamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant future
Re: Multiple Autonomous Programs

Quote:
Originally Posted by MrTechCenter View Post
We used the driver station digital inputs to select our autonomous mode last year. We originally had a physical 3-stage switch on our driver station which was wired into the Cypress which was connected to our driver station laptop, however, our Cypress stopped working so we literally just clicked an individual digital Input on the driver station, under "D I/O" and referenced each digital input in our autonomous code, so different digital inputs would correspond to a different auton mode. I mean....it worked...
We did this last year too, but the digital inputs has been removed from the driver station this year. So we are back to a 3-bit digital switch plugged into 3 digital ports where we read them and "assemble" the selected number chosen.

I must say that I like the idea of being able to set something in disabled mode but it is risky in case they are having trouble getting comms and are not given time to update/select the desired value. So... I guess we will stick with our old switch for now.
__________________