View Single Post
  #9   Spotlight this post!  
Unread 18-03-2014, 08:56
chris.boyle's Avatar
chris.boyle chris.boyle is offline
Programming Mentor
FRC #0068 (Truck Town Thunder)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Truck Town Thunder (Brandon)
Posts: 36
chris.boyle is on a distinguished road
Re: Multi-Choice Autonomous

We are using another method based on the SD. We have a record and replay system that stores the driver & manipulator input to a file on the cRIO. Autonomous reads the selected file and populates the variables that control the robot. The drive team chooses the autonomous to run from our custom dashboard app before the start of the match.

In Begin.vi we populate the array of autonomous choices (custom file extension *.auto) and write it to the SD.

In Dashboard Main.vi we read the array of choices and populate an enum ring's String Property with the file names.

Autonomous then sends back the values it received so we know it got the correct values.
Attached Thumbnails
Click image for larger version

Name:	Begin.png
Views:	12
Size:	2.2 KB
ID:	16591  Click image for larger version

Name:	DashboardMain.png
Views:	16
Size:	9.5 KB
ID:	16592  Click image for larger version

Name:	DashboardApp.png
Views:	15
Size:	6.2 KB
ID:	16593  Click image for larger version

Name:	Auton.png
Views:	13
Size:	12.5 KB
ID:	16594  
__________________
2014 Chairman's Award--Michigan State Championship
2014 Chairman's Award--Waterford District
2014 Winner--Great Lakes Bay District
2013 Chairman's Award--Kettering District
2012 Championship Division Finalists--Thanks 330 and 639
Reply With Quote