Go to Post We are all one big team, even though we are split into thousands of smaller teams. - DonRotolo [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #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
  #2   Spotlight this post!  
Unread 05-02-2016, 22:45
BrianAtlanta's Avatar
BrianAtlanta BrianAtlanta is offline
Registered User
FRC #1261
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2012
Location: Atlanta, GA
Posts: 70
BrianAtlanta has a spectacular aura aboutBrianAtlanta has a spectacular aura about
Re: SmartDashboard - 'Hiding' Certain SendableChoosers

+1 for worrying about a UI that is easier for the drivers. They have enough to worry about during setup, making their life easier is what software should do.

Kudos!
  #3   Spotlight this post!  
Unread 05-02-2016, 23:40
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 395
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: SmartDashboard - 'Hiding' Certain SendableChoosers

The only way I see to do this is to develop your own SmartDashboard extension.
Closed Thread


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 01:29.

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