|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
Hey Chief Delphi I'm having trouble with making a drop down menu in SFX (smart dashboard 2.0) thanks for any help you can give me |
|
#2
|
||||
|
||||
|
Re: Drop down menu in SFX
You can use a SendableChooser
http://first.wpi.edu/FRC/roborio/rel...leChooser.html https://wpilib.screenstepslive.com/s...smartdashboard |
|
#3
|
|||
|
|||
|
Re: Drop down menu in SFX
Thanks but we have already tried that
when we use this it returns the default values |
|
#4
|
||||
|
||||
|
The sendable chooser is the easiest and most reliable way of doing this, I can help you debug your code if you want, you can post it in a paste bin or GitHub if you want
|
|
#5
|
|||
|
|||
|
Re: Drop down menu in SFX
I have had abundant problems with this widget, but after painstaking repetition, I have developed a solution. Please follow the below steps EXACTLY to ensure you get the same results!
1) Make a new Tab in the SFX - Dunno why, but just safer to start fresh 2) Click the "+" or "add" tab, and drag in the Options array from your SendableChooser 3) Double-click the SendableChooser to edit the widget, and copy the Path EXCEPT for the "/options" part. This should look something like "SmartDashboard/AutonomousMode/options". ONLY COPY the "SmartDashboard/AutonomousMode" 4) Add another widget, ComboBox 5) Edit the ComboBox widget and paste the path. 6) Should be good to go! Make sure to press the "Play"/Green arrow to interact with the chooser |
|
#6
|
||||
|
||||
|
Worked for us thank you
|
|
#7
|
|||
|
|||
|
Re: Drop down menu in SFX
We're not seeing the morph option. What did we mess up?
|
|
#8
|
|||
|
|||
|
Re: Drop down menu in SFX
No the morph button has not been working on our smart dashboard either
|
|
#9
|
|||
|
|||
|
Re: Drop down menu in SFX
Quote:
I am not happy about the BeerHall Putsch that forced me to Java this year. T |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|