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

Commit

Permalink
Use the 2024 Apriltag Field Layout instead of 2023 (#312)
Browse files Browse the repository at this point in the history
* Update robot-pose-estimator.rst

* use 2024 field layout instead of 2023
  • Loading branch information
Rubyboat1207 authored Jan 9, 2024
1 parent 54b4c4b commit 54cfc26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/docs/programming/photonlib/robot-pose-estimator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The API documentation can be found in here: `Java <https://github.wpilib.org/all
.. code-block:: java
// The parameter for loadFromResource() will be different depending on the game.
AprilTagFieldLayout aprilTagFieldLayout = AprilTagFieldLayout.loadFromResource(AprilTagFields.k2023ChargedUp.m_resourceFile);
AprilTagFieldLayout aprilTagFieldLayout = AprilTagFieldLayout.loadFromResource(AprilTagFields.k2024Crescendo.m_resourceFile);
.. code-block:: c++

Expand Down
2 changes: 1 addition & 1 deletion source/docs/simulation/simulation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ For convenience, an ``AprilTagFieldLayout`` can also be added to automatically c
.. code-block:: java
// The layout of AprilTags which we want to add to the vision system
AprilTagFieldLayout tagLayout = AprilTagFieldLayout.loadFromResource(AprilTagFields.k2023ChargedUp.m_resourceFile);
AprilTagFieldLayout tagLayout = AprilTagFieldLayout.loadFromResource(AprilTagFields.k2024Crescendo.m_resourceFile);
visionSim.addAprilTags(tagLayout);
Expand Down

0 comments on commit 54cfc26

Please sign in to comment.