OTOSLocalizer

constructor(@NonNull params: OTOSLocalizer.Params, @Nullable otos: SparkFunOTOS)

Create a new OTOS localizer that uses this OTOS.

Parameters

params

the parameters for the OTOS

otos

the OTOS to use. Do note this localizer must use linear and angular units of inches and radians to conform to the standard geometry standards of RoadRunner. Do not modify them yourself. Constructing this localizer will perform a blocking IMU calibration, which will last for roughly 600 milliseconds.