View Single Post
  #3   Spotlight this post!  
Unread 02-04-2014, 20:34
TFleig78's Avatar
TFleig78 TFleig78 is offline
Registered User
AKA: Tyler
FRC #0078 (Air Strike)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Rhode Island
Posts: 58
TFleig78 will become famous soon enoughTFleig78 will become famous soon enough
Re: Autonomous Switching With the Iterative Robot Template

You could do a similar thing as shown in the post above, but with Smartdashboard.

If you write:

Code:
SmartDashboard.putNumber("exampleVal", value);
You can edit the value before the match, depending on the auto you want then write the following to get the value and use it to run a specific sequence.

Code:
SmartDashboard.getNumber("exampleVal");
Reply With Quote