ticks

fun ticks(angle: Measure<Angle>): Int

Get encoder ticks from the provided angle.


fun ticks(distance: Measure<Distance>): Int?

Get encoder ticks from the provided distance.

Return

the number of encoder ticks, else null if the wheel diameter is not provided.