This class specifies the location and orientation of an individual Apriltag.
More...
This class specifies the location and orientation of an individual Apriltag.
- Author
- John Gaby
◆ ApriltagLocation()
robotCore.apriltags.ApriltagLocation.ApriltagLocation |
( |
int | tag, |
|
|
double | x, |
|
|
double | y, |
|
|
double | angle ) |
- Parameters
-
tag | - Specifies the Apriltag number |
x | - Specifies the x position of the tag on the field in meters |
y | - Specifies the y position of the tag on the field in meters |
angle | - Specifies the orientation of the tag in degrees |
◆ toPose2d()
Pose2d robotCore.apriltags.ApriltagLocation.toPose2d |
( |
| ) |
|
Returns the position of the tag as a Pose2d
- Returns
- Returns the position and orientation of the tag
◆ m_tag
int robotCore.apriltags.ApriltagLocation.m_tag |
Specifies the Apriltag number.
◆ m_targetAngleDegrees
double robotCore.apriltags.ApriltagLocation.m_targetAngleDegrees |
Specifies the orientation of the tag in degrees.
◆ m_xMeters
double robotCore.apriltags.ApriltagLocation.m_xMeters |
Specifies the x position of the tag in meters.
◆ m_yMeters
double robotCore.apriltags.ApriltagLocation.m_yMeters |
Specifies the y position of the tag in meters.
The documentation for this class was generated from the following file:
- D:/SDASVN/2024/RaspberryPi/VSCode/Source/robotCore/apriltags/ApriltagLocation.java