We’ve coded a edu.wpi.first.wpilibj.smartdashboard.SendableChooser and it seems to be working:
public RobotContainer() {
chooser = new SendableChooser<String>();
chooser.setDefaultOption("im going to go strait", "strait");
chooser.addOption("how about right", "right"); //etc
chooser.addOption("lets go with left", "left");
chooser.addOption("were going to go nowhere", "none");
SmartDashboard.putData("Auto Selector", chooser);
What we can’t seem to do is get Shuffleboard 2023 to show our combo box. How do people add it so you can choose something?
If you expand the network tables tree on the left, do you see your chooser object? If so, you can drag/drop it onto your shuffleboard tab and it should render properly. That said, I believe it should do that automatically by default as well (on the smartdashboard tab at least), so you’ll want to ensure shuffleboard is actually connected to network tables if not (or if the network tables tree is blank)