Builder
Utility builder for the OTOS parameters.
Functions
Link copied to clipboard
Build the parameters.
Link copied to clipboard
Specifies the rotational component for the sensor offset relative to the center of the robot.
Link copied to clipboard
Set the compensation factor for angular scaling.
Link copied to clipboard
Specifies the forward component for the sensor offset relative to the center of the robot.
Link copied to clipboard
Specifies the strafe component for the sensor offset relative to the center of the robot.
Link copied to clipboard
Set the compensation factor for linear scaling.
Link copied to clipboard
open fun setMeasuredAngularScalar(@NonNull angleRotated: Measure<Angle>, @NonNull reportedRotation: Measure<Angle>): OTOSLocalizer.Params.Builder
Set the compensation factor for angular scaling as a result of a tuning session based on measured vs reported turns.
Link copied to clipboard
open fun setMeasuredLinearScalar(@NonNull realDistance: Measure<Distance>, @NonNull reportedDistance: Measure<Distance>): OTOSLocalizer.Params.Builder
Set the compensation factor for linear scaling as a result of a tuning session based on measured vs reported distance.
Link copied to clipboard
Specifies an offset for the sensor relative to the center of the robot.