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);