]> git.taranathan.com Git - FRC2026.git/commitdiff
remove comment
authoriefomit <timofei.stem@gmail.com>
Mon, 13 Apr 2026 05:11:40 +0000 (22:11 -0700)
committeriefomit <timofei.stem@gmail.com>
Mon, 13 Apr 2026 05:11:40 +0000 (22:11 -0700)
src/main/java/frc/robot/util/ShooterPhysics.java

index f88d3b8292a8e57e2dc55391897f5973ce8f82d3..11f78d3b21bc84bae3bc4d4e86c495851422e1c4 100644 (file)
@@ -45,16 +45,7 @@ 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);