- SmartDashboard.putData("Position", positionChooser);
- SmartDashboard.putData("Position One Defense", positionOneDefense);
- SmartDashboard.putData("Position Two Defense", positionTwoDefense);
- SmartDashboard.putData("Position Three Defense", positionThreeDefense);
- SmartDashboard.putData("Position Four Defense", positionFourDefense);
- SmartDashboard.putData("Position Five Defense", positionFiveDefense);
-
+ // send the Sendable Choosers to the Smart Dashboard
+ // Sendable Choosers allows the driver to select the position of the robot
+ // and the positions of the defenses from a drop-down menu on the Smart
+ // Dashboard
+ SmartDashboard.putData("PositionChooser", positionChooser);
+ SmartDashboard.putData("Position One Defense Chooser", positionOneDefense);
+ SmartDashboard.putData("Position Two Defense Chooser", positionTwoDefense);
+ SmartDashboard.putData("Position Three Defense Chooser",
+ positionThreeDefense);
+ SmartDashboard.putData("Position Four Defense Chooser",
+ positionFourDefense);
+ SmartDashboard.putData("Position Five Defense Chooser",
+ positionFiveDefense);