Position control of a quadrotor MAV while compensating for discrete jumps in the pose estimate