Package edu.wpi.first.apriltag
Class AprilTag
java.lang.Object
edu.wpi.first.apriltag.AprilTag
public class AprilTag extends Object
Represents an AprilTag's metadata.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
static RawFrame
generate16h5AprilTagImage(int id)
Generates a RawFrame containing the apriltag with the id with family 16h5 passed in.static RawFrame
generate36h11AprilTagImage(int id)
Generates a RawFrame containing the apriltag with the id with family 36h11 passed in.int
hashCode()
String
toString()
-
Field Details
-
Constructor Details
-
AprilTag
Constructs an AprilTag.- Parameters:
ID
- The tag's ID.pose
- The tag's pose.
-
-
Method Details
-
equals
-
hashCode
-
toString
-
generate16h5AprilTagImage
Generates a RawFrame containing the apriltag with the id with family 16h5 passed in.- Parameters:
id
- id- Returns:
- A RawFrame containing the AprilTag image
-
generate36h11AprilTagImage
Generates a RawFrame containing the apriltag with the id with family 36h11 passed in.- Parameters:
id
- id- Returns:
- A RawFrame containing the AprilTag image
-