Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Commit

Permalink
changed april tag layout field
Browse files Browse the repository at this point in the history
  • Loading branch information
gvaldez7206 committed Jan 13, 2024
1 parent db81af7 commit 13f53da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/lib/util/PhotonCameraWrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 13f53da

Please sign in to comment.