View Single Post
  #10   Spotlight this post!  
Unread 19-03-2014, 00:53
Invictus3593's Avatar
Invictus3593 Invictus3593 is offline
time you like wasting is not wasted
FRC #3593 (Team Invictus)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Tulsa, OK
Posts: 318
Invictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really nice
Re: Multi-Choice Autonomous

Here's yet another method if you don't like the DS buttons:

Set up a Enum text box on your dashboard and give each number value a corresponding label, showing your driver which program to use.



Write the integer value to a SD variable and then in your autonomous mode, read the value and have a case structure select the correct program to run based simply on the integer value.



When you set up your player station, select the correct program then leave the variable alone. As the match starts, it will read the variable from your dashboard once at the beginning of the Autonomous Period, then execute the correct program.

Our team has used this method for two years and never had an issue. It's reliable and versatile, allowing for many different modes and configurations, as long as your drivers remember to check and make sure it's correct before the match starts XD.
__________________
Per Audacia Ad Astra
Reply With Quote