From: iefomit Date: Mon, 13 Apr 2026 05:17:41 +0000 (-0700) Subject: Revert "remove comment" X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=8f03200347d48b0cfe184a62386527b304d78f12;p=FRC2026.git Revert "remove comment" This reverts commit 20edd0157ea51645b05e8ed746999d6c2c4e7f4a. --- 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);