lots of weird turret limit shtuff, NOT COMPLETE

This commit is contained in:
Ryan Manley
2022-03-16 21:18:10 -06:00
parent 2f23aed7f1
commit 411e06211c
6 changed files with 80 additions and 27 deletions
@@ -69,7 +69,7 @@ public class AimToCenter extends CommandBase {
if (angle == Double.NaN) {
return false;
}
return !((ShooterConstants.TURRET_REVERSE_LIMIT <= angle) && (angle <= ShooterConstants.TURRET_FORWARD_LIMIT));
return !((ShooterConstants.TURRET_REVERSE_SOFT_LIMIT <= angle) && (angle <= ShooterConstants.TURRET_FORWARD_SOFT_LIMIT));
}
// Called once the command ends or is interrupted.