Quote:
Originally Posted by RufflesRidge
in autonomousInit():
autoSelected = (String) chooser.getSelected();
System.out.println("Auto selected: " + autoSelected);
|
Sorry!!! This part of the code is wrong (that's the code for sendable chooser).
should be something like this instead:
autoSelected = SmartDashboard.getString("Auto Selector", defaultAuto);