Go to Post Limits are imposed by both man and nature. Understanding those limits and attempting to push past them is the basis of creativity. - Dave.Norton [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 05-02-2016, 20:39
lethc's Avatar
lethc lethc is offline
#gkccurse
AKA: Becker Lethcoe
FRC #1806 (S.W.A.T.)
Team Role: Alumni
 
Join Date: Nov 2012
Rookie Year: 2013
Location: Smithville, MO
Posts: 119
lethc will become famous soon enough
SmartDashboard - 'Hiding' Certain SendableChoosers

My team is using Java this year. We are planning on having many autonomous modes and using the SmartDashboard on the driver station to select between them. We'd have many options for which autonomous to run, and some of these options are only relevant to a select few autonomouses (autonomi?). Is there any way to 'format' our SmartDashboard to only show certain categories at certain times? For example, we'd only want to show a certain options menu to be shown if another is checked.

The only way I can think to do this would be to have code running in disabledPeriodic() to add new SendableChoosers based on when certain options are selected. This seems messy and slow, and it would also require constant communication with the robot. Is there a way to handle this 'client-side', on the DriverStation only?

Thanks for your help!
__________________
2016: Greater Kansas City Regional Finalists, Oklahoma Regional Winners, Tesla Semifinalists, IRI Quarterfinalists
2015: Greater Kansas City Regional Finalists, Oklahoma Regional Winners, Tesla Quarterfinalists, IRI Winners
2014: Central Illinois Regional Quarterfinalists, Greater Kansas City Regional Finalists, Newton Semifinalists
2013: Greater Kansas City Regional Winners, Oklahoma Regional Winners, Galileo Quarterfinalists
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:03.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi