mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 19:42:07 +08:00
alerts: Don't use Malfunction twice
old-commit-hash: 8031a68e55b42d1a80303f00a3aecd646e3c2359
This commit is contained in:
@@ -488,17 +488,17 @@ EVENTS: Dict[int, Dict[str, Union[Alert, AlertCallbackType]]] = {
|
||||
|
||||
# Thrown when the fan is driven at >50% but is not rotating
|
||||
EventName.fanMalfunction: {
|
||||
ET.PERMANENT: NormalPermanentAlert("Fan Malfunction", "Hardware Malfunction"),
|
||||
ET.PERMANENT: NormalPermanentAlert("Fan Malfunction", "Likely Hardware Issue"),
|
||||
},
|
||||
|
||||
# Camera is not outputting frames at a constant framerate
|
||||
EventName.cameraMalfunction: {
|
||||
ET.PERMANENT: NormalPermanentAlert("Camera Malfunction", "Hardware Malfunction"),
|
||||
ET.PERMANENT: NormalPermanentAlert("Camera Malfunction", "Likely Hardware Issue"),
|
||||
},
|
||||
|
||||
# Unused
|
||||
EventName.gpsMalfunction: {
|
||||
ET.PERMANENT: NormalPermanentAlert("GPS Malfunction", "Hardware Malfunction"),
|
||||
ET.PERMANENT: NormalPermanentAlert("GPS Malfunction", "Likely Hardware Issue"),
|
||||
},
|
||||
|
||||
# When the GPS position and localizer diverge the localizer is reset to the
|
||||
|
||||
Reference in New Issue
Block a user