odometry stuff for driving straight and turning