Add chime to lane changed blocked alert (#21159)

* Update carcontroller.py

* Lane change blocked orange + audible alert

* Actually make it make sound

* Update carcontroller.py

* leave priority the same
old-commit-hash: 24b6b4a341
commatwo_master
speedking456 4 years ago committed by GitHub
parent 6d9702f5bb
commit 2bcc0c0ada
  1. 4
      selfdrive/controls/lib/events.py

@ -459,8 +459,8 @@ EVENTS: Dict[int, Dict[str, Union[Alert, Callable[[Any, messaging.SubMaster, boo
ET.WARNING: Alert( ET.WARNING: Alert(
"Car Detected in Blindspot", "Car Detected in Blindspot",
"Monitor Other Vehicles", "Monitor Other Vehicles",
AlertStatus.normal, AlertSize.mid, AlertStatus.userPrompt, AlertSize.mid,
Priority.LOW, VisualAlert.steerRequired, AudibleAlert.none, .0, .1, .1), Priority.LOW, VisualAlert.steerRequired, AudibleAlert.chimePrompt, .1, .1, .1),
}, },
EventName.laneChange: { EventName.laneChange: {

Loading…
Cancel
Save