Make longitudinal planning triggered on model (#22641)

* Make long planning triggered on model

* fix process replay

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
This commit is contained in:
Robbe Derks
2021-10-28 12:27:09 +02:00
committed by GitHub
parent 21c4bfc7be
commit efb5abec41
3 changed files with 3 additions and 4 deletions
-1
View File
@@ -38,7 +38,6 @@ def plannerd_thread(sm=None, pm=None):
if sm.updated['modelV2']:
lateral_planner.update(sm, CP)
lateral_planner.publish(sm, pm)
if sm.updated['radarState']:
longitudinal_planner.update(sm, CP)
longitudinal_planner.publish(sm, pm)