from Distance
fun fromDistance(distance: Measure<Distance>, ticksPerRevolution: Number, wheelDiameter: Measure<Distance>, reduction: Double): Int
Convert a distance to encoder ticks.
Return
The number of encoder ticks.
Parameters
distance
The distance.
ticks Per Revolution
The number of encoder ticks per revolution.
wheel Diameter
The diameter of the wheel.
reduction
The gear reduction (input speed / output speed).