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

Commit f49c477

Browse files
authored
change incorrect instance of getYaw() (#277)
Before, it was getYaw() before describing getSkew(). That is not correct.
1 parent 9f636ad commit f49c477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/docs/programming/photonlib/getting-target-data.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Getting Data From A Target
106106
* double ``getYaw()``/``GetYaw()``: The yaw of the target in degrees (positive right).
107107
* double ``getPitch()``/``GetPitch()``: The pitch of the target in degrees (positive up).
108108
* double ``getArea()``/``GetArea()``: The area (how much of the camera feed the bounding box takes up) as a percent (0-100).
109-
* double ``getYaw()``/``GetYaw()``: The skew of the target in degrees (counter-clockwise positive).
109+
* double ``getSkew()``/``GetSkew()``: The skew of the target in degrees (counter-clockwise positive).
110110
* double[] ``getCorners()``/``GetCorners()``: The 4 corners of the minimum bounding box rectangle.
111111
* Transform2d ``getCameraToTarget()``/``GetCameraToTarget()``: The camera to target transform. See `2d transform documentation here <https://docs.wpilib.org/en/latest/docs/software/advanced-controls/geometry/transformations.html#transform2d-and-twist2d>`_.
112112

0 commit comments

Comments
 (0)