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

Update getting-target-data.rst #287

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SamueljWilson
Copy link

Documentation is behind recent changes.

Documentation is behind recent change.
@@ -108,8 +108,7 @@ Getting Data From A Target
* double ``getArea()``/``GetArea()``: The area (how much of the camera feed the bounding box takes up) as a percent (0-100).
* double ``getSkew()``/``GetSkew()``: The skew of the target in degrees (counter-clockwise positive).
* double[] ``getCorners()``/``GetCorners()``: The 4 corners of the minimum bounding box rectangle.
* 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>`_.

* Transform3d ``getBestCameraToTarget()``/``GetBestCameraToTarget()``: The camera to target transform.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any good docs pages we can link here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked and it does not seem so.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we're waiting for wpilib to add transform3d docs, let's expand on this a little bit more? Maybe "The 3d transform between your camera's origin and the target's origin. It's the same as transform3d, but generalized to 3d."?

Or poke around and find some ROS docs that explain 3d geometry? IDK.

@mdurrani808 mdurrani808 added this to the beta 2024 milestone Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants