From 13f53dae886d9073e31446cfc64046d3d02816d7 Mon Sep 17 00:00:00 2001 From: Gael Date: Sat, 13 Jan 2024 14:14:15 -0600 Subject: [PATCH] changed april tag layout field --- src/main/java/frc/lib/util/PhotonCameraWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/lib/util/PhotonCameraWrapper.java b/src/main/java/frc/lib/util/PhotonCameraWrapper.java index 6adac00..9659280 100644 --- a/src/main/java/frc/lib/util/PhotonCameraWrapper.java +++ b/src/main/java/frc/lib/util/PhotonCameraWrapper.java @@ -32,7 +32,7 @@ public PhotonCameraWrapper(String cameraName, Transform3d robotToCam) { // Attempt to load the AprilTagFieldLayout that will tell us where the tags are on the // field. - AprilTagFieldLayout fieldLayout = AprilTagFields.k2023ChargedUp.loadAprilTagLayoutField(); + AprilTagFieldLayout fieldLayout = AprilTagFields.k2024Crescendo.loadAprilTagLayoutField(); // Create pose estimator photonPoseEstimator = new PhotonPoseEstimator(fieldLayout, PoseStrategy.MULTI_TAG_PNP_ON_RIO, photonCamera, robotToCam);