From 5bad0192bf35d8f08f26dd5ac72b3c1d62a57569 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Sun, 31 May 2020 14:33:23 -0700 Subject: [PATCH 1/2] fix low speed engage on stop and go Hondas --- selfdrive/car/honda/interface.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/honda/interface.py b/selfdrive/car/honda/interface.py index 1cb11bd119f47d..f454c2376531e4 100755 --- a/selfdrive/car/honda/interface.py +++ b/selfdrive/car/honda/interface.py @@ -484,8 +484,9 @@ def update(self, c, can_strings): # it can happen that car cruise disables while comma system is enabled: need to # keep braking if needed or if the speed is very low - if self.CP.enableCruise and not ret.cruiseState.enabled and (c.actuators.brake <= 0. or not self.CP.openpilotLongitudinalControl): - # non loud alert if cruise disbales below 25mph as expected (+ a little margin) + if self.CP.enableCruise and not ret.cruiseState.enabled \ + and (c.actuators.brake <= 0. or not self.CP.openpilotLongitudinalControl) and (self.CP.minEnableSpeed > 0): + # non loud alert if cruise disables below 25mph as expected (+ a little margin) if ret.vEgo < self.CP.minEnableSpeed + 2.: events.add(EventName.speedTooLow) else: From 052e88b96eca1493333569cbdb7abfdf8c3d77c1 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Sun, 31 May 2020 16:25:16 -0700 Subject: [PATCH 2/2] update ref commit --- selfdrive/test/process_replay/ref_commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/test/process_replay/ref_commit b/selfdrive/test/process_replay/ref_commit index 7e5f01eb3db1ae..bdcc7b799f481b 100644 --- a/selfdrive/test/process_replay/ref_commit +++ b/selfdrive/test/process_replay/ref_commit @@ -1 +1 @@ -d50cc2d81fd73dcfccfe1a8e2726879941ec5327 \ No newline at end of file +5bad0192bf35d8f08f26dd5ac72b3c1d62a57569 \ No newline at end of file