ThreeWheelLocalizer

Standard three dead wheel localizer that uses two parallel encoders and one perpendicular encoder to localize the robot. Source

Since

6.0.0

Constructors

Link copied to clipboard
constructor(@NonNull driveModel: DriveModel, @NonNull params: ThreeWheelLocalizer.Params, @Nullable par0: RawEncoder, @Nullable par1: RawEncoder, @Nullable perp: RawEncoder)
Create a new ThreeWheelLocalizer that will run on two parallel and one perpendicular encoders.

Types

Link copied to clipboard
open class Params
Parameters for the three dead wheel localizer.

Properties

Link copied to clipboard
val par0: Encoder
The first parallel encoder.
Link copied to clipboard
val par1: Encoder
The second parallel encoder.
Link copied to clipboard
Used three-wheel localizer parameters.
Link copied to clipboard
val perp: Encoder
The perpendicular encoder.

Functions

Link copied to clipboard
open fun update(): Twist2dDual<Time>
Perform one iteration of localizer delta updates.