pandad: pure Python capnp helpers (#37025)

* pandad: pure Python capnp helpers

* cleanup
This commit is contained in:
Adeeb Shihadeh
2026-01-24 12:02:33 -08:00
committed by GitHub
parent 7c90c0669a
commit de024fd4a7
7 changed files with 91 additions and 129 deletions
@@ -1,4 +1,4 @@
Import('env', 'envCython', 'arch', 'msgq_python', 'common_python', 'pandad_python', 'np_version')
Import('env', 'envCython', 'arch', 'msgq_python', 'common_python', 'np_version')
gen = "c_generated_code"
@@ -67,7 +67,7 @@ lenv.Clean(generated_files, Dir(gen))
generated_long = lenv.Command(generated_files,
source_list,
f"cd {Dir('.').abspath} && python3 long_mpc.py")
lenv.Depends(generated_long, [msgq_python, common_python, pandad_python])
lenv.Depends(generated_long, [msgq_python, common_python])
lenv["CFLAGS"].append("-DACADOS_WITH_QPOASES")
lenv["CXXFLAGS"].append("-DACADOS_WITH_QPOASES")