auto-switch vision algorithm based on altitude