WPILibC++ 2025.3.2
Loading...
Searching...
No Matches
frc::AprilTagPoseEstimate Struct Reference

A pair of AprilTag pose estimates. More...

#include <frc/apriltag/AprilTagPoseEstimate.h>

Public Member Functions

double GetAmbiguity () const
 Gets the ratio of pose reprojection errors, called ambiguity.
 

Public Attributes

Transform3d pose1
 Pose 1.
 
Transform3d pose2
 Pose 2.
 
double error1
 Object-space error of pose 1.
 
double error2
 Object-space error of pose 2.
 

Detailed Description

A pair of AprilTag pose estimates.

Member Function Documentation

◆ GetAmbiguity()

double frc::AprilTagPoseEstimate::GetAmbiguity ( ) const

Gets the ratio of pose reprojection errors, called ambiguity.

Numbers above 0.2 are likely to be ambiguous.

Returns
The ratio of pose reprojection errors.

Member Data Documentation

◆ error1

double frc::AprilTagPoseEstimate::error1

Object-space error of pose 1.

◆ error2

double frc::AprilTagPoseEstimate::error2

Object-space error of pose 2.

◆ pose1

Transform3d frc::AprilTagPoseEstimate::pose1

Pose 1.

◆ pose2

Transform3d frc::AprilTagPoseEstimate::pose2

Pose 2.


The documentation for this struct was generated from the following file: