added function to set flight state to navigating to position.