fix low speed override bug and cut-in bug (#21593)

* fix low speed bug and cutin bug

* update ref
pull/21595/head
HaraldSchafer 4 years ago committed by GitHub
parent 8e3d7a43c3
commit 6a93346729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      selfdrive/controls/lib/lead_mpc.py
  2. 2
      selfdrive/test/process_replay/ref_commit

@ -47,8 +47,8 @@ class LeadMpc():
if self.lead_id == 0:
lead = radarstate.leadOne
else:
lead = radarstate.leadOne
self.status = lead.status and lead.modelProb > .5
lead = radarstate.leadTwo
self.status = lead.status
# Setup current mpc state
self.cur_state[0].x_ego = 0.0

@ -1 +1 @@
c615f63b3d38d9a15375890b64e0c45ae59bf7a1
5d8ade78ab7b2aa678a8025eba58477579db71ad
Loading…
Cancel
Save