"velocity": 0.5,
"rotation": 0.0
},
- "useDefaultConstraints": false
+ "useDefaultConstraints": true
}
\ No newline at end of file
String rightSideAuto = "Right Week V1";
String shootOnlyAuto = "Shoot Only Left Week V1";
String leftLiberalSwipe = "LeftLiberalDoubleSwipe";
+ String rightLiberalSwipe = "RightLiberalDoubleSwipe";
String leftLiberalSwipeTranslation = "LeftLiberalDoubleSwipeTranslation";
String leftConservativeSwipe = "LeftConservativeDoubleSwipe";
addAuto(shootOnlyAuto);
addAuto(leftConservativeSwipe);
addAuto(leftLiberalSwipe);
+ addAuto(rightLiberalSwipe);
addAuto(leftLiberalSwipeTranslation);
+
// put the Chooser on the SmartDashboard
SmartDashboard.putData("Auto chooser", autoChooser);
}
// shooter power modifier
if (shooter != null) {
- controller.get(PS5Button.PS).onTrue(new InstantCommand(() -> {
+ controller.get(PS5Button.TRIANGLE).onTrue(new InstantCommand(() -> {
double current = SmartDashboard.getNumber("OPERATOR: Shooter Power Modifier", 1.05);
SmartDashboard.putNumber("OPERATOR: Shooter Power Modifier", current + 0.05);
}));
- controller.get(PS5Button.TRIANGLE).onTrue(new InstantCommand(() -> {
+ controller.get(PS5Button.CROSS).onTrue(new InstantCommand(() -> {
double current = SmartDashboard.getNumber("OPERATOR: Shooter Power Modifier", 1.05);
SmartDashboard.putNumber("OPERATOR: Shooter Power Modifier", Math.max(0.5, current - 0.05));
}));