PinpointLocalizer

constructor(@NonNull driveModel: DriveModel, @NonNull params: TwoWheelLocalizer.Params, @Nullable pinpoint: GoBildaPinpointDriver)

Create a new Pinpoint localizer operating on two internally connected dead wheels.

Parameters

driveModel

the drive model to use for kinematics

params

parameters to use, note since they are the same as if you were to use two wheels alone, the two wheel localizer parameters object is being used.

pinpoint

the Pinpoint Computer from HardwareMap. Will be IMU and position reset on construction.