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

index 6571ddc8dbc575309a728ebf93615f11d8eb4599..aefcc1cac4b9717c7ad41cdb462b046f172ef3f3 100644 (file)
@@ -3,6 +3,8 @@ 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;
+import frc.robot.constants.Constants;
+import frc.robot.constants.swerve.DriveConstants;
 
 public class TurretConstants {
     public static double MAX_ANGLE = 180;
@@ -18,5 +20,5 @@ public class TurretConstants {
 
     public static Translation2d DISTANCE_FROM_ROBOT_CENTER = new Translation2d(0, 0);
 
-    Translation3d TURRET_TO_CENTER_OF_ROBOT = new Translation3d(Units.inchesToMeters(4.875), Units.inchesToMeters(y), 0.32)
+    Translation3d TURRET_TO_CENTER_OF_ROBOT = new Translation3d(Units.inchesToMeters(4.875), -Units.inchesToMeters(26.5/2 - 11.375), 0.32);
 }