Go to Post How do you earn yourself 500 PM's, 200 e-mails, 100 replies to a post, and an instant 5 to 6 bars in rep? If your name is Grant Imahara, make yourself known to the Chief Delphi community. - Andy Grady [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 03-03-2013, 16:11
lemonzap lemonzap is offline
Head Programmer
FRC #2928 (Viking Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: United States
Posts: 33
lemonzap is on a distinguished road
smartdashboard widget sendable chooser

I'm making a custom smartdashboard widget and wanted to use the sendable chooser class. So far it seems like that code is only available in the robot library. Is there any way I can use that class or something similar in a widget.
Reply With Quote
  #2   Spotlight this post!  
Unread 03-03-2013, 16:15
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: smartdashboard widget sendable chooser

The code for the sendable chooser widget is in the SmartDashboard source, in the Chooser class.
Reply With Quote
  #3   Spotlight this post!  
Unread 03-03-2013, 18:00
lemonzap lemonzap is offline
Head Programmer
FRC #2928 (Viking Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: United States
Posts: 33
lemonzap is on a distinguished road
Re: smartdashboard widget sendable chooser

Quote:
Originally Posted by Joe Ross View Post
The code for the sendable chooser widget is in the SmartDashboard source, in the Chooser class.
I'm having trouble finding information on how to use this chooser. Is there a javadoc somewhere?
Reply With Quote
  #4   Spotlight this post!  
Unread 05-03-2013, 20:03
BradAMiller BradAMiller is online now
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 590
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: smartdashboard widget sendable chooser

Check out this web page. It has an example of using a SendableChooser for selecting one of many Autonomous programs. Of course you can use it for any purpose in the same way.

http://wpilib.screenstepslive.com/s/...smartdashboard

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
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 22:15.

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