Don't build all the kalman filters on the phone

old-commit-hash: 6be97f6396
commatwo_master
Willem Melching 5 years ago
parent 12efdb39ca
commit 7002527ad0
  1. 19
      selfdrive/locationd/kalman/SConscript

@ -1,20 +1,25 @@
Import('env') Import('env', 'arch')
templates = Glob('templates/*') templates = Glob('templates/*')
sympy_helpers = "helpers/sympy_helpers.py" sympy_helpers = "helpers/sympy_helpers.py"
ekf_sym = "helpers/ekf_sym.py" ekf_sym = "helpers/ekf_sym.py"
to_build = { to_build = {
'pos_computer_4': 'helpers/lst_sq_computer.py',
'pos_computer_5': 'helpers/lst_sq_computer.py',
'feature_handler_5': 'helpers/feature_handler.py',
'car': 'models/car_kf.py', 'car': 'models/car_kf.py',
'gnss': 'models/gnss_kf.py',
'loc_4': 'models/loc_kf.py',
'live': 'models/live_kf.py', 'live': 'models/live_kf.py',
'lane': '#xx/pipeline/lib/ekf/lane_kf.py',
} }
if arch != "aarch64":
to_build.update({
'lane': '#xx/pipeline/lib/ekf/lane_kf.py',
'pos_computer_4': 'helpers/lst_sq_computer.py',
'pos_computer_5': 'helpers/lst_sq_computer.py',
'feature_handler_5': 'helpers/feature_handler.py',
'loc_4': 'models/loc_kf.py',
'gnss': 'models/gnss_kf.py',
})
found = {} found = {}
for target, command in to_build.items(): for target, command in to_build.items():

Loading…
Cancel
Save