From 8f03200347d48b0cfe184a62386527b304d78f12 Mon Sep 17 00:00:00 2001 From: iefomit Date: Sun, 12 Apr 2026 22:17:41 -0700 Subject: [PATCH] Revert "remove comment" This reverts commit 20edd0157ea51645b05e8ed746999d6c2c4e7f4a. --- src/main/java/frc/robot/util/ShooterPhysics.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/frc/robot/util/ShooterPhysics.java b/src/main/java/frc/robot/util/ShooterPhysics.java index 11f78d3..f88d3b8 100644 --- a/src/main/java/frc/robot/util/ShooterPhysics.java +++ b/src/main/java/frc/robot/util/ShooterPhysics.java @@ -45,7 +45,16 @@ public class ShooterPhysics { * @return A TurretState that represents the shot the robot should take. */ /* + zExitVel = 6.260990336 <-- im calling this x + z is the hub height = 72 inches + (-x - sqrt(x^2 -2 gz)) / -g + 0.83 seconds when shooting + 1.28 seconds when shuttling since target is 0; + + 0.83 * 0.85 + + */ public static TurretState getShotParams(Translation2d robotVelocity, Translation3d robotToTarget, double peakHeight) { double zExitVel = Math.sqrt(2 * peakHeight * Constants.GRAVITY_ACCELERATION); -- 2.39.5