Low-cost stereo-based obstacle avoidance for small UAVs using uncertainty maps