Modified find_critical_qos.py for LDF-vision.