setMeasuredLinearScalar

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

realDistance

the tape-measure real world value the robot has been pushed

reportedDistance

the distance the OTOS thinks it has travelled