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

* fix low speed bug and cutin bug

* update ref
old-commit-hash: 6a933467292f2364940b35cc87855d336d2275f7
This commit is contained in:
HaraldSchafer
2021-07-13 23:36:25 -07:00
committed by GitHub
parent 7595ad4d28
commit 8fdfa3b97d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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
View File
@@ -1 +1 @@
c615f63b3d38d9a15375890b64e0c45ae59bf7a1
5d8ade78ab7b2aa678a8025eba58477579db71ad