Files
StarPilot/openpilot/starpilot/car/honda/events.py
T
firestar5683 cf21c9729f Honda
Integrate Honda steering and AOL adapters with platform-specific native safety coverage.

Co-authored-by: Daniel Koepping <elkoled@gmail.com>
Co-authored-by: Danny <dannyirwin31@yahoo.com>
Co-authored-by: dirwin31 <83434411+dirwin31@users.noreply.github.com>
2026-10-14 20:02:39 -05:00

11 lines
412 B
Python

from opendbc.car.honda.stock_aol import qualified
from openpilot.cereal import log
from openpilot.selfdrive.selfdrived.events import EVENTS, ET
def event_rules(cp) -> dict:
if not qualified(cp, marked_only=True):
return {}
names = (log.OnroadEvent.EventName.cruiseDisabled, log.OnroadEvent.EventName.speedTooLow)
return {name: {ET.USER_DISABLE: EVENTS[name][ET.IMMEDIATE_DISABLE]} for name in names}