Go to Post Solutions are more likely to be implemented if you provide the solution along with the concern! - Jessica Boucher [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-03-2014, 21:45
Joey1939's Avatar
Joey1939 Joey1939 is offline
Registered User
AKA: Joey Holliday
FRC #1939 (Kuhnigits)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Kansas City, Missouri
Posts: 139
Joey1939 has a spectacular aura aboutJoey1939 has a spectacular aura aboutJoey1939 has a spectacular aura about
SendableChooser Not Showing Up On SmartDashboard

We have been using the SendableChooser class to create an autonomous selector on the SmartDashboard. I need to clarify that the selector does work and show up (most of the time). When the selector is working it allows us to switch between autonomouses perfectly.

The problem is that every once in awhile the selector doesn't show up on the SmartDashboard. I have verified that when this occurs the selector is in the NetworkTables by using the Table viewer. To try to fix it I have rebooted the drive station, power cycled the robot, and reopen all programs on the driver station.

The only solution that I have found is to reformat the cRIO. This solution works just fine, but it does take several minutes to reformat and push code. I would like to know if anyone has any other solution so that we don't have to forfeit a match for not having working cRIO.
Reply With Quote
  #2   Spotlight this post!  
Unread 14-03-2014, 15:40
NotInControl NotInControl is offline
Controls Engineer
AKA: Kevin
FRC #2168 (Aluminum Falcons)
Team Role: Engineer
 
Join Date: Oct 2011
Rookie Year: 2004
Location: Groton, CT
Posts: 261
NotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond repute
Re: SendableChooser Not Showing Up On SmartDashboard

Quote:
Originally Posted by Joey1939 View Post
We have been using the SendableChooser class to create an autonomous selector on the SmartDashboard. I need to clarify that the selector does work and show up (most of the time). When the selector is working it allows us to switch between autonomouses perfectly.

The problem is that every once in awhile the selector doesn't show up on the SmartDashboard. I have verified that when this occurs the selector is in the NetworkTables by using the Table viewer. To try to fix it I have rebooted the drive station, power cycled the robot, and reopen all programs on the driver station.

The only solution that I have found is to reformat the cRIO. This solution works just fine, but it does take several minutes to reformat and push code. I would like to know if anyone has any other solution so that we don't have to forfeit a match for not having working cRIO.
Are you saying when the sendable chooser does not show up, the only way to get it to show up is to reformat the cRIO?

Restarting the robot, then turning on the driverstation, and opening smartdashboard in that order does not fix the problem?

Where in your code do you instantiate the sendablechooser, and where do you read its value? i.e. I am looking for a response like "we instantiate it in RobotInit() and read it in AutoInit()"

Pasting the key parts of your code would be helpful.

Regards,
Kevin
__________________
Controls Engineer, Team 2168 - The Aluminum Falcons
[2016 Season] - World Championship Controls Award, District Controls Award, 3rd BlueBanner
-World Championship- #45 seed in Quals, World Championship Innovation in Controls Award - Curie
-NE Championship- #26 seed in Quals, winner(195,125,2168)
[2015 Season] - NE Championship Controls Award, 2nd Blue Banner
-NE Championship- #26 seed in Quals, NE Championship Innovation in Controls Award
-MA District Event- #17 seed in Quals, Winner(2168,3718,3146)
[2014 Season] - NE Championship Controls Award & Semi-finalists, District Controls Award, Creativity Award, & Finalists
-NE Championship- #36 seed in Quals, SemiFinalist(228,2168,3525), NE Championship Innovation in Controls Award
-RI District Event- #7 seed in Quals, Finalist(1519,2168,5163), Innovation in Controls Award
-Groton District Event- #9 seed in Quals, QuarterFinalist(2168, 125, 5112), Creativity Award
[2013 Season] - WPI Regional Winner - 1st Blue Banner
Reply With Quote
Reply


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 09:10.

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