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

Commit e87fc77

Browse files
authored
Example link fix (#263)
* example link * fixed misspelling
1 parent 3c6bf31 commit e87fc77

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The RobotPoseEstimator has a constructor that takes an ``AprilTagFieldLayout`` (
8282

8383
Using a ``RobotPoseEstimator``
8484
------------------------------
85-
Calling ``update()`` on your ``RobotPoseEstimator`` will return a ``Pair<Pose3d, Double>``, which includes a ``Pose3d`` of the latest estimated pose (using the selected strategy) along with a ``Double`` of the latency in milliseconds. You should be updating your `drivetrain pose estimator <https://docs.wpilib.org/en/latest/docs/software/advanced-controls/state-space/state-space-pose-estimators.html>`_ with the result from the ``RobotPoseEstimator`` every loop using ``addVisionMeasurement()``. See our `code example <https://www.google.com/>`_ for more.
85+
Calling ``update()`` on your ``RobotPoseEstimator`` will return a ``Pair<Pose3d, Double>``, which includes a ``Pose3d`` of the latest estimated pose (using the selected strategy) along with a ``Double`` of the latency in milliseconds.
8686

8787
.. tab-set-code::
8888
.. code-block:: java
@@ -114,6 +114,8 @@ Calling ``update()`` on your ``RobotPoseEstimator`` will return a ``Pair<Pose3d,
114114
}
115115
}
116116

117+
You should be updating your `drivetrain pose estimator <https://docs.wpilib.org/en/latest/docs/software/advanced-controls/state-space/state-space-pose-estimators.html>`_ with the result from the ``RobotPoseEstimator`` every loop using ``addVisionMeasurement()``. See our :ref:`code example <docs/examples/apriltag:knowledge and equipment needed>` for more.
118+
117119
Additional ``RobotPoseEstimator`` Methods
118120
-----------------------------------------
119121

0 commit comments

Comments
 (0)