Factor encoder driving in to a function, always calculate ticks_per_cm