OTOSLocalizer

constructor(hardwareMap: HardwareMap, otosName: String = "sensor_otos", linearScalar: Double = 1.0, angularScalar: Double = 1.0, offset: Pose2d = Pose2d.zero, initialPose: Pose2d = Pose2d.zero)

Parameters

hardwareMap

hardware map

otosName

name of the OTOS sensor in the hardware map

linearScalar

scalar for the linear measurements

angularScalar

scalar for the angular measurements

offset

sensor offset

initialPose

initial pose