You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: source/docs/programming/photonlib/robot-pose-estimator.rst
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ AprilTags and RobotPoseEstimator
3
3
4
4
.. note:: For more information on how to methods to get AprilTag data, look :ref:`here <docs/programming/photonlib/getting-target-data:Getting AprilTag Data From A Target>`.
5
5
6
-
PhotonLib includes a ``RobotPoseEstimator`` class, which allows you to combine the pose data from all tags in view in order to get one final pose using different strategies.
6
+
PhotonLib includes a ``RobotPoseEstimator`` class, which allows you to combine the pose data from all tags in view in order to get a field relative pose.
7
7
8
8
Creating an ``AprilTagFieldLayout``
9
9
-----------------------------------
@@ -34,15 +34,15 @@ Creating a ``RobotPoseEstimator``
34
34
The RobotPoseEstimator has a constructor that takes an ``AprilTagFieldLayout`` (see above), ``PoseStrategy``, and ``ArrayList<Pair<PhotonCamera, Transform3d>>``. ``PoseStrategy`` has five possible values:
35
35
36
36
* LOWEST_AMBIGUITY
37
-
* Choose the Pose with the lowest ambiguity
37
+
* Choose the Pose with the lowest ambiguity.
38
38
* CLOSEST_TO_CAMERA_HEIGHT
39
-
* Choose the Pose which is closest to the camera height
39
+
* Choose the Pose which is closest to the camera height.
40
40
* CLOSEST_TO_REFERENCE_POSE
41
-
* Choose the Pose which is closest to the camera height
41
+
* Choose the Pose which is closest to the pose from setReferencePose().
42
42
* CLOSEST_TO_LAST_POSE
43
-
* Choose the Pose which is closest to the last pose calculated
43
+
* Choose the Pose which is closest to the last pose calculated.
44
44
* AVERAGE_BEST_TARGETS
45
-
* Choose the Pose which is the average of all the poses from each tag
45
+
* Choose the Pose which is the average of all the poses from each tag.
0 commit comments