IntrinsicMecanumLocalizer

open class IntrinsicMecanumLocalizer : Localizer

An estimation-based Mecanum localizer that uses no encoders and only the IMU for heading. This is the bare configuration for a Mecanum drivetrain, and should only be used in an absolute dire situation where all your encoders don't work.

Author

Lucas Bubner, 2024

Since

4.0.0

Constructors

Link copied to clipboard
constructor(coefficients: IntrinsicMecanumLocalizer.Coefficients, drive: MecanumDrive)
Create a new IntrinsicMecanumLocalizer.
constructor(coefficients: IntrinsicMecanumLocalizer.Coefficients, drive: MecanumDrive, driveInput: Supplier<Pose2d>)
Create a new IntrinsicMecanumLocalizer.

Types

Link copied to clipboard
open class Coefficients
Coefficients used in calculating the intrinsic Mecanum pose.

Properties

Link copied to clipboard
@get:NonNull
open var poseEstimate: Pose2d
Link copied to clipboard
open val poseVelocity: Pose2d

Functions

Link copied to clipboard
open fun update()

Inherited functions

Link copied to clipboard
abstract fun getPoseEstimate(): Pose2d
Link copied to clipboard
abstract fun getPoseVelocity(): Pose2d
Link copied to clipboard
abstract fun setPoseEstimate(p: Pose2d)