Package synapse.pipelines.apriltag
Class ApriltagResult
java.lang.Object
synapse.pipelines.apriltag.ApriltagResult
Represents the result of detecting AprilTags in a single frame or input source.
This class contains the list of detected tags and an estimate of the camera's pose in field space. It is typically produced by an AprilTag pipeline.
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble[]The estimated camera pose in field space represented as an array of doubles.The array of detected AprilTags with their associated detection data. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
tags
The array of detected AprilTags with their associated detection data. -
cameraEstimate_fieldSpace
public double[] cameraEstimate_fieldSpaceThe estimated camera pose in field space represented as an array of doubles.(
[x, y, z, roll, pitch, yaw]).
-
-
Constructor Details
-
ApriltagResult
public ApriltagResult()Creates a new, emptyApriltagResult.This constructor is primarily used for JSON deserialization by Jackson and for general instantiation when no initial values are provided.
-
-
Method Details
-
equals
Compares this result to another object for equality. Two results are considered equal if both their detected tags and camera field space estimates are equal. -
hashCode
public int hashCode()Computes a hash code for this result based on its detected tags and camera field space estimate.
-