Rotate using encoders