From 3c90cdac770c16368dfcf61207e1e3e5781ec30e Mon Sep 17 00:00:00 2001 From: Alvin Zhang <41vin2h4n9@gmail.com> Date: Mon, 29 Jan 2024 21:37:58 -0800 Subject: [PATCH] fix: properly update rear camera tag poses --- .../team1540/robot2024/subsystems/vision/AprilTagVision.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/team1540/robot2024/subsystems/vision/AprilTagVision.java b/src/main/java/org/team1540/robot2024/subsystems/vision/AprilTagVision.java index 1650c9a4..670765b6 100644 --- a/src/main/java/org/team1540/robot2024/subsystems/vision/AprilTagVision.java +++ b/src/main/java/org/team1540/robot2024/subsystems/vision/AprilTagVision.java @@ -73,7 +73,7 @@ public void periodic() { rearCameraInputs.lastMeasurementTimestampSecs, rearCameraInputs.estimatedPoseMeters, rearCameraInputs.seenTagIDs, - rearPose.tagPosesMeters()); + rearCameraInputs.tagPosesMeters); } TimestampedVisionPose latestPose = getEstimatedPose();