Made RegulatedMotor implement LinearEncoder