WPILibC++ 2024.3.2
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. More...
 

Public Attributes

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

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: