mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-23 17:23:44 +08:00
@@ -115,6 +115,7 @@ struct OnroadEvent @0x9b1657f34caf3ad3 {
|
|||||||
actuatorsApiUnavailable @120;
|
actuatorsApiUnavailable @120;
|
||||||
espActive @121;
|
espActive @121;
|
||||||
personalityChanged @122;
|
personalityChanged @122;
|
||||||
|
aeb @123;
|
||||||
|
|
||||||
radarCanErrorDEPRECATED @15;
|
radarCanErrorDEPRECATED @15;
|
||||||
communityFeatureDisallowedDEPRECATED @62;
|
communityFeatureDisallowedDEPRECATED @62;
|
||||||
@@ -371,6 +372,7 @@ struct CarControl {
|
|||||||
pid @1;
|
pid @1;
|
||||||
stopping @2;
|
stopping @2;
|
||||||
starting @3;
|
starting @3;
|
||||||
|
emergencyBraking @4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -388,6 +388,15 @@ EVENTS: dict[int, dict[str, Alert | AlertCallbackType]] = {
|
|||||||
priority=Priority.LOWEST),
|
priority=Priority.LOWEST),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
EventName.aeb: {
|
||||||
|
ET.PERMANENT: Alert(
|
||||||
|
"BRAKE!",
|
||||||
|
"Emergency Braking: Risk of Collision",
|
||||||
|
AlertStatus.critical, AlertSize.full,
|
||||||
|
Priority.HIGHEST, VisualAlert.fcw, AudibleAlert.none, 2.),
|
||||||
|
ET.NO_ENTRY: NoEntryAlert("AEB: Risk of Collision"),
|
||||||
|
},
|
||||||
|
|
||||||
EventName.stockAeb: {
|
EventName.stockAeb: {
|
||||||
ET.PERMANENT: Alert(
|
ET.PERMANENT: Alert(
|
||||||
"BRAKE!",
|
"BRAKE!",
|
||||||
|
|||||||
Reference in New Issue
Block a user