core / com.acmerobotics.roadrunner.localization / Localizer

Localizer

interface Localizer (source)

Generic interface for estimating robot pose over time.

Properties

poseEstimate

Current robot pose estimate.

abstract var poseEstimate: Pose2d

poseVelocity

Current robot pose velocity (optional)

abstract val poseVelocity: Pose2d?

Functions

update

Completes a single localization update.

abstract fun update(): Unit

Inheritors

ThreeTrackingWheelLocalizer

Localizer based on three unpowered tracking omni wheels.

abstract class ThreeTrackingWheelLocalizer : Localizer

TwoTrackingWheelLocalizer

Localizer based on two unpowered tracking omni wheels and an orientation sensor.

abstract class TwoTrackingWheelLocalizer : Localizer