Enhancing optical-flow-based control by learning visual appearance cues for flying robots