Add Country South Africa to list of RHD countries (#999)

old-commit-hash: 3c6ba22931
commatwo_master
Arne Schwarck 5 years ago committed by HaraldSchafer
parent ef7db4a31d
commit bad188d183
  1. 3
      selfdrive/controls/lib/gps_helpers.py

@ -9,7 +9,8 @@ _RHD_REGION_MAP = [ ['AUS', -54.76, -9.23, 112.91, 159.11], \
['MY', 0.86, 7.36, 99.64, 119.27], \
['NZ', -52.61, -29.24, 166, 178.84], \
['SF', -35.14, -22.13, 16.07, 33.21], \
['UK', 49.9, 60.84, -8.62, 1.77] ]
['UK', 49.9, 60.84, -8.62, 1.77], \
['ZA', -34.83, -22.13, 16.47, 32.88] ]
def is_rhd_region(latitude, longitude):
for region in _RHD_REGION_MAP:

Loading…
Cancel
Save