fixed issue in gate_detector when it tries to pick points in front of
the car

tuning obstacle detector