HeadingLocalizer

class HeadingLocalizer(headingSensor: AngleSensor, deadReckoningLocalizer: DeadReckoningLocalizer) : Localizer

A localizer that uses a DeadReckoningLocalizer with an added heading sensor to increase accuracy.

Constructors

Link copied to clipboard
constructor(headingSensor: AngleSensor, deadReckoningLocalizer: DeadReckoningLocalizer)

Properties

Link copied to clipboard
open override var poseEstimate: Pose2d

Current robot pose estimate.

Link copied to clipboard
open override var poseVelocity: Pose2d?

Current robot pose velocity (optional)

Functions

Link copied to clipboard
open override fun update()

Completes a single localization update.