View Single Post
  #6   Spotlight this post!  
Unread 22-01-2016, 10:09
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Question on Autonomous Mode

This has pretty much been covered, but I'll go into a bit more detail regarding the default dashboard options.

The second tab of the dashboard, labeled Basic, has buttons, LEDs, sliders, and strings that are already tied to Network table variables named "DB/Button 0", etc. You can also rename the controls from your robot code by setting the network table string array "DB/Button Names", etc. The default LV code shows how to do this in Begin.vi. These controls can be used however you like, to set default speeds, directions, or names of options.

This year a new selector was added to the Drive tab that displays a list of autonomous beneath the gyro indicator. The names shown can be set on the robot into an array of strings variable called "Auto List" and the value selected by the drive team will be available in "Auto Selector".

SmartDashboard has a similar capability using the SendableChooser.

Greg McKaskle