Standard2WheelLocalizer

class Standard2WheelLocalizer(encoders: List<Motor.Encoder>, encoderPositions: List<Pose2d>, externalHeadingSensor: AngleSensor) : TwoTrackingWheelLocalizer

A utility class for creating 2-wheel tracking localizers with standard configurations.

Constructors

Link copied to clipboard
constructor(parallelEncoder: Motor.Encoder, parallelOffset: Double, perpendicularEncoder: Motor.Encoder, perpendicularOffset: Double, externalHeadingSensor: AngleSensor)
constructor(encoders: List<Motor.Encoder>, encoderPositions: List<Pose2d>, externalHeadingSensor: AngleSensor)

Functions

Link copied to clipboard
open override fun getHeading(): Angle
Link copied to clipboard
open override fun getHeadingVelocity(): Angle?
Link copied to clipboard
open override fun getWheelPositions(): List<Double>
Link copied to clipboard
open override fun getWheelVelocities(): List<Double>