116 std::span<const double, 9> homography, std::span<const double, 8> corners,
139 std::span<const double, 8> corners)
const;
#define WPILIB_DLLEXPORT
Definition: SymbolExports.h:36
A detection of an AprilTag tag.
Definition: AprilTagDetection.h:20
Pose estimators for AprilTag tags.
Definition: AprilTagPoseEstimator.h:20
Transform3d Estimate(const AprilTagDetection &detection) const
Estimates tag pose.
AprilTagPoseEstimator(const Config &config)
Creates estimator.
Definition: AprilTagPoseEstimator.h:47
Transform3d EstimateHomography(std::span< const double, 9 > homography) const
Estimates the pose of the tag using the homography method described in [1].
Transform3d EstimateHomography(const AprilTagDetection &detection) const
Estimates the pose of the tag using the homography method described in [1].
const Config & GetConfig() const
Gets estimator configuration.
Definition: AprilTagPoseEstimator.h:61
void SetConfig(const Config &config)
Sets estimator configuration.
Definition: AprilTagPoseEstimator.h:54
AprilTagPoseEstimate EstimateOrthogonalIteration(const AprilTagDetection &detection, int nIters) const
Estimates the pose of the tag.
Transform3d Estimate(std::span< const double, 9 > homography, std::span< const double, 8 > corners) const
Estimates tag pose.
AprilTagPoseEstimate EstimateOrthogonalIteration(std::span< const double, 9 > homography, std::span< const double, 8 > corners, int nIters) const
Estimates the pose of the tag.
Definition: AprilTagPoseEstimator.h:15
A pair of AprilTag pose estimates.
Definition: AprilTagPoseEstimate.h:14
Configuration for the pose estimator.
Definition: AprilTagPoseEstimator.h:23
bool operator==(const Config &) const =default
double cy
Camera vertical focal center, in pixels.
Definition: AprilTagPoseEstimator.h:39
double cx
Camera horizontal focal center, in pixels.
Definition: AprilTagPoseEstimator.h:36
units::meter_t tagSize
The tag size.
Definition: AprilTagPoseEstimator.h:27
double fx
Camera horizontal focal length, in pixels.
Definition: AprilTagPoseEstimator.h:30
double fy
Camera vertical focal length, in pixels.
Definition: AprilTagPoseEstimator.h:33