set Computed In Per Tick
open fun setComputedInPerTick(ticksPerRevolution: Double, gearRatio: Double, @NonNull wheelDiameter: Measure<Distance>): DriveModel.Builder
Set the inches per tick for the drive as a result of a precomputed ratio.
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. Do also note precomputed ratios are not recommended for determining the averages, empirical values are far more accurate.
Return
the builder
Parameters
ticks Per Revolution
the ticks per revolution of the encoder
gear Ratio
the gear ratio of the drive
wheel Diameter
the diameter of the wheel