Hi,
I am trying use the autonomous selector part of the Smartdashboard with this code in the init:
Code:
self.auto_chooser=wpilib.SendableChooser()
self.auto_chooser.addObject("High Goal, Low Bar", "1")
self.auto_chooser.addDefault("Crosser Low Bar", "2")
self.auto_chooser.addObject("Reacher", "3")
self.auto_chooser.addObject("Crosser RT", "4")
wpilib.SmartDashboard.putData('Choice', self.auto_chooser)
The problem is that it never actually shows up. I use the connector indicator icon and it shows that it is indeed connected but my options never show up. Is there something else I should be doing? I have tried just doing
Code:
wpilib.SmartDashboard.putNumber("Something", 3)
and that doesn't show either when connected. Any ideas or suggestions are welcome! Thanks!