mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-12-02 06:23:40 +08:00
459d2e6b94
In paddle/manual mode the Subaru transmission reports the simulated ratio instead of D, which parses as GearShifter.unknown. The generic disarming_fault() treated the resulting soft wrongGear event as a disarming fault and cleared the AOL latch; with no fresh MAIN edge on the return to Drive, AOL never resumed (pre-7.0 it resumed automatically). Add a Subaru-scoped intent_disarming_fault() that filters the soft wrongGear event for qualified cars at unknown gear, dispatched like the existing Volkswagen/Chrysler overrides. Output stays paused in manual mode through the normal runtime and panda gates; only the intent revocation is removed. Generic classification is unchanged. Tests: openpilot/starpilot/car/subaru/tests/test_aol_manual_gear.py