getDistance

Get the current encoder ticks in a distance.

Return

the distance, else null if the wheel diameter is not provided.