mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-21 16:13:47 +08:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user