diff --git a/vision/src/main/java/coppercore/vision/CoreVisionConstants.java b/vision/src/main/java/coppercore/vision/CoreVisionConstants.java index 132298d..2a66a44 100644 --- a/vision/src/main/java/coppercore/vision/CoreVisionConstants.java +++ b/vision/src/main/java/coppercore/vision/CoreVisionConstants.java @@ -5,9 +5,7 @@ import edu.wpi.first.math.Matrix; import edu.wpi.first.math.VecBuilder; import edu.wpi.first.math.geometry.Rotation2d; -import edu.wpi.first.math.geometry.Rotation3d; import edu.wpi.first.math.geometry.Transform3d; -import edu.wpi.first.math.geometry.Translation3d; import edu.wpi.first.math.numbers.N1; import edu.wpi.first.math.numbers.N3; import edu.wpi.first.math.util.Units; @@ -15,7 +13,6 @@ import edu.wpi.first.wpilibj.Filesystem; import java.io.IOException; import java.util.Collections; -import java.util.List; public final class CoreVisionConstants { public static final String tagLayoutName = "Pairs-Only"; @@ -34,39 +31,6 @@ public final class CoreVisionConstants { public static final Matrix driveUncertainty = VecBuilder.fill(0.1, 0.1, 0.1); - public static final List cameras = - List.of( - new CameraParams( - "Front-Left", - 1280, - 800, - 16, - Rotation2d.fromDegrees(70), - new Transform3d( - new Translation3d(0.306, 0.259, 0.211), - new Rotation3d(0, -0.349, 0.785)), - CameraTrustZone.LEFT), - new CameraParams( - "Front-Right", - 1280, - 800, - 16, - Rotation2d.fromDegrees(70), - new Transform3d( - new Translation3d(0.312, -0.304, 0.217), - new Rotation3d(0.0, -0.349, -0.785)), - CameraTrustZone.RIGHT), - new CameraParams( - "Front-Center", - 1280, - 800, - 16, - Rotation2d.fromDegrees(70), - new Transform3d( - new Translation3d(0.312, -0.237, 0.233), - new Rotation3d(0.0, -0.349, 0.524)), - CameraTrustZone.MIDDLE)); - public static record CameraParams( String name, int xResolution,