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

Commit 1ea03ce

Browse files
authored
Correct Typo & initialize AprilTagFieldLayout correctly (#268)
* Correct typo * Include correct AprilTagFieldLayout initialization
1 parent b805f3f commit 1ea03ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/docs/programming/photonlib/robot-pose-estimator.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The API documentation can be found in here: `Java <https://github.wpilib.org/all
1515
.. code-block:: java
1616
1717
// The parameter for loadFromResource() will be different depending on the game.
18-
AprilTagFieldLayout aprilTagFieldLayout = new ApriltagFieldLayout(AprilTagFieldLayout.loadFromResource(AprilTagFields.k2022RapidReact.m_resourceFile));
18+
AprilTagFieldLayout aprilTagFieldLayout = AprilTagFieldLayout.loadFromResource(AprilTagFields.k2023ChargedUp.m_resourceFile);
1919
2020
.. code-block:: c++
2121

0 commit comments

Comments
 (0)