setDistPerTick

open fun setDistPerTick(@NonNull measuredDistance: Measure<Distance>, reportedTicks: Double): DriveModel.Builder

Set the inches per tick for the drive as a result of movement and encoder ticks.

Note: Calling this function multiple times will take the average between other calls that have set the inches per tick. This allows for multiple tuning session results to average in on the most accurate value.

Return

the builder

Parameters

measuredDistance

the measured distance of the movement

reportedTicks

the reported ticks from the encoder when the distance was measured