mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 02:52:04 +08:00
Mazda: disable hud alerts until we find a way to silence audible alerts (#22808)
* Mazda: disable hud alerts for now until we find a way to silence audible warnings Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com> * Mazda: add hud alert for steer lockout Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com> * show when above min steer speed * update refs Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> old-commit-hash: 2621e5301da0e10a70a68672db5052ea5037db9b
This commit is contained in:
committed by
GitHub
parent
675f67b406
commit
6c74dc1366
@@ -50,6 +50,8 @@ class CarController():
|
||||
if frame % 50 == 0:
|
||||
ldw = c.hudControl.visualAlert == VisualAlert.ldw
|
||||
steer_required = c.hudControl.visualAlert == VisualAlert.steerRequired
|
||||
# TODO: find a way to silence audible warnings so we can add more hud alerts
|
||||
steer_required = steer_required and CS.lkas_allowed_speed
|
||||
can_sends.append(mazdacan.create_alert_command(self.packer, CS.cam_laneinfo, ldw, steer_required))
|
||||
|
||||
# send steering command
|
||||
|
||||
@@ -1 +1 @@
|
||||
0caad1211b58557625231e54a1329be3e8da668f
|
||||
72bf5e2fc5628714a9bbb7cc641954735264f022
|
||||
Reference in New Issue
Block a user