Builder

open class Builder

Utility builder for the OTOS parameters.

Constructors

Link copied to clipboard
constructor()

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
Set the compensation factor for angular scaling as a result of a tuning session based on measured vs reported turns.
Link copied to clipboard
Set the compensation factor for linear scaling as a result of a tuning session based on measured vs reported distance.
Link copied to clipboard
open fun setOffset(offset: SparkFunOTOS.Pose2D): OTOSLocalizer.Params.Builder
Specifies an offset for the sensor relative to the center of the robot.