The Princess of Wales tested her skills in a flight simulator during her visit to the base.