From: iefomit Date: Fri, 17 Apr 2026 01:06:35 +0000 (-0700) Subject: fix TODO X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=bdf3490880be7901da52e74f2f7ce585b21016ad;p=FRC2026.git fix TODO --- diff --git a/src/main/java/frc/robot/commands/gpm/LockedShoot.java b/src/main/java/frc/robot/commands/gpm/LockedShoot.java index 3f7a0f5..d08f30c 100644 --- a/src/main/java/frc/robot/commands/gpm/LockedShoot.java +++ b/src/main/java/frc/robot/commands/gpm/LockedShoot.java @@ -143,7 +143,7 @@ public class LockedShoot extends Command { ChassisSpeeds robotRelVel = drive.getChassisSpeeds(); // Add a phase delay extrapolation component for latency delay - drivepose.exp( //TODO this is a problem, drivepose.exp returns a Pose2d, should be drivepose = drivepose.exp(...) + drivepose = drivepose.exp( new Twist2d( robotRelVel.vxMetersPerSecond * phaseDelay, robotRelVel.vyMetersPerSecond * phaseDelay,