View Full Version : smartdashboard widget sendable chooser
lemonzap
03-03-2013, 16:11
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.
Joe Ross
03-03-2013, 16:15
The code for the sendable chooser widget is in the SmartDashboard source, in the Chooser class.
lemonzap
03-03-2013, 18:00
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?
BradAMiller
05-03-2013, 20:03
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/3120/m/7932/l/81109-choosing-an-autonomous-program-from-smartdashboard
Brad
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.