AprilTagPoseEstimator

constructor(processor: AprilTag, drive: RoadRunnerDrive)

Constructor for AprilTagPoseEstimator.

Note that the option to also update heading based off these readings is disabled by default. Enable with setHeadingEstimate.

Also note that by default, this pose estimator will assume the camera is exactly at the center of the robot, facing forward. Adjust this using setCameraOffset.

Parameters

processor

AprilTag processor to use for pose estimation, must be attached to Vision and running

drive

RoadRunner drive