set Measured Linear Scalar
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. This is the method the tuners use and will auto-convert the given parameters into a measurement.
Assumes the default unit of inches when converting.
Note: Calling this function multiple times will take the average between other calls that have set the linear scalar. This allows for multiple tuning session results to average in on the most accurate value.
Return
this builder
Parameters
real Distance
the tape-measure real world value the robot has been pushed
reported Distance
the distance the OTOS thinks it has travelled