Sendable chooser

I created a sendable chooser object to put on the dashboard a auto chooser but the auton chooser doesn’t show up in our smart dashboard nt. Here is my GitHub: 3984-2023/testingPID2/src/main/java/frc/robot at ManualArmCOntrol · DesteoyerRZSS/3984-2023 · GitHub

I initialized the sendable chooser in the Auton.java file and I use it in the getAutonomusCommand in Robot container.

Even though you create the SendableChooser and add options to it never actually gets put on SmartDashboard.

After adding options in the constructor of the Auton.java file, add SmartDashboard.putData(autonChooser) and it should show on SmartDashboard.

P.S. You should add a default option to the SendableChooser with autonChooser.setDefaultOption()

1 Like

Ok thanks!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.