add minimum score to consider a way valid (#292)

old-commit-hash: a321836788
commatwo_master
Willem Melching 6 years ago
parent 1de23f3d10
commit 6d4c0f387d
  1. 4
      selfdrive/mapd/mapd_helpers.py

@ -192,6 +192,10 @@ class Way:
closest_way = way
best_score = score
# Normal score is < 5
if best_score > 50:
return None
return closest_way
def __str__(self):

Loading…
Cancel
Save