bump cereal

This commit is contained in:
Shane Smiskol
2022-04-01 20:59:15 -07:00
parent e40c36f22b
commit ca3171c0f9
3 changed files with 10 additions and 10 deletions
+1 -1
Submodule cereal updated: f05953e72a...c609a29345
+1 -1
View File
@@ -125,7 +125,7 @@ class CarInterfaceBase(ABC):
if cs_out.espDisabled:
events.add(EventName.espDisabled)
if cs_out.gasPressed:
events.add(EventName.gasPressed)
events.add(EventName.pedalPressedPreEnable)
if cs_out.stockFcw:
events.add(EventName.stockFcw)
if cs_out.stockAeb:
+8 -8
View File
@@ -356,14 +356,6 @@ EVENTS: Dict[int, Dict[str, Union[Alert, AlertCallbackType]]] = {
# ********** events only containing alerts that display while engaged **********
EventName.gasPressed: {
ET.PRE_ENABLE: Alert(
"Release Gas Pedal to Engage",
"",
AlertStatus.normal, AlertSize.small,
Priority.LOWEST, VisualAlert.none, AudibleAlert.none, .1, creation_delay=1.),
},
# openpilot tries to learn certain parameters about your car by observing
# how the car behaves to steering inputs from both human and openpilot driving.
# This includes:
@@ -549,6 +541,14 @@ EVENTS: Dict[int, Dict[str, Union[Alert, AlertCallbackType]]] = {
visual_alert=VisualAlert.brakePressed),
},
EventName.pedalPressedPreEnable: {
ET.PRE_ENABLE: Alert(
"Release Pedal to Engage",
"",
AlertStatus.normal, AlertSize.small,
Priority.LOWEST, VisualAlert.none, AudibleAlert.none, .1, creation_delay=1.),
},
EventName.wrongCarMode: {
ET.USER_DISABLE: EngagementAlert(AudibleAlert.disengage),
ET.NO_ENTRY: wrong_car_mode_alert,