to Inches
fun toInches(ticks: Number, wheelRadiusInches: Double, gearRatio: Double, ticksPerRevolution: Number): Double
Converts encoder ticks to inches for use in calculation with a Localizer.
Return
inches travelled as per circumference
Parameters
ticks
the encoder ticks
wheel Radius Inches
the wheel radius in inches
gear Ratio
the gear ratio as a division ratio
ticks Per Revolution
the ticks per revolution of the encoder