Get encoder ticks from the provided angle.
Get encoder ticks from the provided distance.
the number of encoder ticks, else null if the wheel diameter is not provided.