From 4798bdd3c30b765c48a62aa2b1b0d3244a58e372 Mon Sep 17 00:00:00 2001 From: Daniel Burke Date: Fri, 12 Apr 2024 16:24:36 -0400 Subject: [PATCH] Expanded the geofence --- src/main/java/com/team1701/robot/commands/ShootAndMove.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/team1701/robot/commands/ShootAndMove.java b/src/main/java/com/team1701/robot/commands/ShootAndMove.java index 296963b3..06d4f597 100644 --- a/src/main/java/com/team1701/robot/commands/ShootAndMove.java +++ b/src/main/java/com/team1701/robot/commands/ShootAndMove.java @@ -222,7 +222,8 @@ public void execute() { .speeds() .allMatch(mShooter.getRollerSpeedsRadiansPerSecond(), kSpeedToleranceRadiansPerSecond.get()); - var atAcceptableRobotSpeed = mRobotState.getHorizontalToSpeaker() < 3 || mDrive.getSpeedMetersPerSecond() < 0.5; + var atAcceptableRobotSpeed = + mRobotState.getHorizontalToSpeaker() < 3.5 || mDrive.getSpeedMetersPerSecond() < 0.5; if (mLockedReadyToShoot.update(atAngle && atHeading && atSpeed, Timer.getFPGATimestamp()) && atAcceptableRobotSpeed) {