]> git.taranathan.com Git - FRC2026.git/commitdiff
Update TurretConstants.java
authormaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Sat, 7 Feb 2026 18:56:44 +0000 (10:56 -0800)
committermaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Sat, 7 Feb 2026 18:56:44 +0000 (10:56 -0800)
src/main/java/frc/robot/subsystems/turret/TurretConstants.java

index 60c875344bec3f399274d482a80ae1e5dcec6e80..e755e275a265a2622bb6677adfbeed2dad5a4ab8 100644 (file)
@@ -1,6 +1,7 @@
 package frc.robot.subsystems.turret;
 
 import edu.wpi.first.math.geometry.Translation2d;
+import edu.wpi.first.math.geometry.Translation3d;
 import edu.wpi.first.math.util.Units;
 
 public class TurretConstants {
@@ -16,4 +17,6 @@ public class TurretConstants {
     public static double ROTATIONAL_VELOCITY_CONSTANT = 0.2;
 
     public static Translation2d DISTANCE_FROM_ROBOT_CENTER = new Translation2d(0, 0);
+
+    Translation3d TURRET_TO_CENTER_OF_ROBOT = new Translation3d(x, y, 0.32)
 }