From e79877818c8823f54e479c38a97e096394376f6a Mon Sep 17 00:00:00 2001 From: LexieLev Date: Tue, 17 Oct 2023 17:20:54 -0700 Subject: [PATCH] Deleting extra limelight camera Offseason bot only has one limelight, still need to fix new translations --- src/main/java/frc/robot/Constants.java | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index 1b1e13c..f86bd87 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -342,26 +342,19 @@ public static record VisionSource(String name, Transform3d robotToCamera) {} public static final List VISION_SOURCES = List.of( new VisionSource( + //FIXME need to change translations since position of camera is changing "frontCam", new Transform3d( new Translation3d( - 0.228110, // front/back + 0.228110, // front/back 0.253802, // left/right 0.443955 // up/down ), new Rotation3d( 0, Math.toRadians(-11.5), // angle up/down - 0))), - new VisionSource( - "backCam", - new Transform3d( - new Translation3d( - 0.102078, // front/back - -0.253802, // left/right - 1.222387 // up/down - ), - new Rotation3d(0, Math.toRadians(17), Math.PI)))); + 0))) + ); public static final int THREAD_SLEEP_DURATION_MS = 5; }