// names
String leftDynamicLiberalDoubleSwipe = "LeftDynamicDoubleLiberalSwipe";
String rightDynamicLiberalDoubleSwipe = "RightDynamicDoubleLiberalSwipe";
- String leftDynamicConservativeDoubleSwipe = "LeftDynamicDoubleLiberalSwipe";
- String rightDynamicConservativeDoubleSwipe = "RightDynamicDoubleLiberalSwipe";
+ String leftDynamicConservativeDoubleSwipe = "LeftDynamicDoubleConservativeSwipe";
+ String rightDynamicConservativeDoubleSwipe = "RightDynamicDoubleConservativeSwipe";
// add commands
addAuto(leftDynamicLiberalDoubleSwipe, dynamicAutoBuilder.getDynamicDoubleLiberalSwipe(true));
addAuto(rightDynamicLiberalDoubleSwipe, dynamicAutoBuilder.getDynamicDoubleLiberalSwipe(false));
- addAuto(leftDynamicConservativeDoubleSwipe, dynamicAutoBuilder.getDynamicDoubleLiberalSwipe(true));
- addAuto(rightDynamicConservativeDoubleSwipe, dynamicAutoBuilder.getDynamicDoubleLiberalSwipe(false));
+ addAuto(leftDynamicConservativeDoubleSwipe, dynamicAutoBuilder.getDynamicDoubleConservativeSwipe(true));
+ addAuto(rightDynamicConservativeDoubleSwipe, dynamicAutoBuilder.getDynamicDoubleConservativeSwipe(false));
// put the Chooser on the SmartDashboard
SmartDashboard.putData("Auto chooser", autoChooser);
private LoggedNetworkNumber turretOffset = new LoggedNetworkNumber("/Tuning/OPERATOR/Turret Offet",0.0);
private double distanceFromTarget = 0.0;
- // private double TOFAdjustment = 0.85;
- // private double TOFAdjustment = 1.1;
private LoggedNetworkNumber TOFAdjustment = new LoggedNetworkNumber("/Tuning/OPERATOR/TOF Adjustment", 1.1);
public Superstructure(Turret turret, Drivetrain drivetrain, Hood hood, Shooter shooter, Spindexer spindexer) {