'Decoupled' encoder drive distance calculation from driving