Optic-flow based slope estimation for autonomous landing