this code is for auto_flight by AR.Drone.