View Single Post
  #3   Spotlight this post!  
Unread 08-03-2014, 18:29
AGPapa's Avatar
AGPapa AGPapa is offline
Registered User
AKA: Antonio Papa
FRC #5895
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Robbinsville, NJ
Posts: 323
AGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond repute
Re: Multi-Choice Autonomous

There are no rules prohibiting this. However, I don't understand how you plan on doing it. Do you want these controls on the front panel of autonomous.vi? How are you going to edit those controls once the code is compiled? Or do you plan on recompiling your code whenever you want to change the autonomous routine?

A simpler way that doesn't require you to recompile code is to use the digital inputs on the driver station. The default autonomous.vi already has code to read from the driver station's digital inputs. Just click on a different button before each match to select which auto mode you want to use,
Attached Thumbnails
Click image for larger version

Name:	digital inputs.JPG
Views:	45
Size:	73.3 KB
ID:	16507  Click image for larger version

Name:	autonmous.JPG
Views:	65
Size:	62.4 KB
ID:	16508  
__________________
Team 2590 Student [2011-2014]
Team 5684 Mentor [2015]
Team 5895 Mentor [2016-]
Reply With Quote