Commit Graph

53 Commits

Author SHA1 Message Date
Sam Yau 459d2e6b94 Subaru AOL: manual-mode ratio gears pause output, not intent
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
2026-11-22 19:45:56 -08:00
firestar5683 cb3bfc720b Preserve stopped Subaru AOL intent after brake release 2026-11-20 07:49:06 -06:00
firestar5683 4cd84f603c Preserve Subaru AOL intent while waiting for steering authority 2026-11-19 17:40:07 -06:00
firestar5683 22a3945dec Keep Subaru diagnostics valid with AOL disabled 2026-11-19 10:28:01 -06:00
firestar5683 6c600907c4 Collect every Subaru EPS recovery ordering case 2026-11-19 10:06:16 -06:00
firestar5683 ed496af008 Preserve Subaru AOL across temporary steering event joins 2026-11-19 09:47:12 -06:00
firestar5683 b6dfa29932 Preserve Subaru armed intent through stopped and temporary steering pauses 2026-11-18 10:51:45 -06:00
firestar5683 7e37c44d40 Keep active Subaru angle assistance through the AOL admission boundary 2026-11-18 09:09:58 -06:00
firestar5683 fa578e8abf Restore matched target filtering and timing for gas Kona 2026-11-17 17:20:28 -06:00
Dom af201f1a35 Align Subaru model join fixture with combined smoothing input
Retain all eight owner/tau cases and original acceleration, stop-state and single-application assertions. Supply zero Volkswagen smoothing for this Subaru-only fixture. No production or native changes. Subaru and Volkswagen focused suites:44 passed; Ruff passed. Refresh canonical validated inventory.
2026-11-16 23:11:10 -06:00
firestar5683 6486b6b51d Recognize complete 2025 Impreza camera firmware identity 2026-11-15 22:37:51 -06:00
firestar5683 3e57276216 Fix Impreza route coverage and crawl test parametrization 2026-11-15 10:28:33 -06:00
FuriouslyRed 6db4bd592d Integrate qualified 2025 Impreza recognition and lateral control 2026-11-15 09:59:07 -06:00
FuriouslyRed 11b6fa4b50 Add isolated 2025 Subaru Impreza platform 2026-11-15 09:13:17 -06:00
firestar5683 5a62d76315 Remember Subaru MAIN through the temporary steering guard 2026-11-14 09:12:03 -06:00
FuriouslyRed 1d5fa9a805 Add isolated 2025 Subaru Impreza platform
- Register SUBARU_IMPREZA_2025 (Gen2 angle, subaru_d harness) with 2025
  Impreza RS specs: 1,486 kg, 2.67 m wheelbase, Subaru's 13.0:1 steering
  ratio.
- Add captured firmware IDs (abs, eps, fwdCamera, engine) so the car matches
  exactly instead of being forced onto SUBARU_CROSSTREK_2025.
- Introduce SubaruSafetyFlags.IMPREZA_2025_ANGLE (8192) selecting an
  Impreza-specific 13.0 angle VM profile in panda safety. The Crosstrek 2025
  entry and its 17.0 geometry are left untouched, so this is isolated.
- Wire the platform through GEN2_ANGLE_PORTS, ANGLE_CARS,
  SCOPED_CANDIDATES, carstate cruise sourcing, jacobw angle limiting and AOL
  admission.
- Add torque substitute, firmware-identity and output-contract coverage.

Tests: opendbc/car/subaru/tests (207 passed), opendbc/car/tests interface
(713 passed), docs/config/limits/vehicle-model (604 passed).
2026-11-13 20:48:44 -05:00
firestar5683 69667edae6 Preserve Subaru MAIN rearming through brake and signal pauses 2026-11-13 16:59:21 -06:00
firestar5683 5661cecedf Preserve armed Subaru intent through stopped feedback gaps 2026-11-13 10:22:39 -06:00
firestar5683 805acabc4c Preserve Subaru AOL through brake joins and show armed stops 2026-11-12 09:16:22 -06:00
Matt Purnell bf0880f064 Subaru: the high-angle guard hands back on the angle alone 2026-11-11 16:13:22 -06:00
firestar5683 0b1a773181 Align model runtime types while preserving source guards 2026-11-10 16:50:00 -06:00
firestar5683 1e0e06eef4 Preserve Subaru AOL intent through EPS brake event joins 2026-11-08 15:02:04 -06:00
firestar5683 27cc914f54 Track small Subaru Crosstrek angle requests at low speed 2026-11-08 14:25:59 -06:00
firestar5683 5d6e6afc3e Allow bounded Outback stop-start OFF requests from state zero 2026-11-06 19:48:56 -06:00
firestar5683 83e86fe022 Restore Subaru steering override reporting 2026-11-05 12:55:17 -06:00
firestar5683 ced757efe2 Distinguish Crosstrek wheel load from steering override 2026-11-05 12:38:13 -06:00
firestar5683 95bf946844 Keep Subaru VM steering handoff within native rate limits 2026-11-04 16:47:02 -06:00
firestar5683 89af8a6569 Preserve Subaru intent through stop and source handoffs 2026-11-03 18:30:19 -06:00
firestar5683 4cf5c9e098 Keep Subaru fixed-angle handoff within native rate limits 2026-11-03 11:25:13 -06:00
firestar5683 dd9608eecd Preserve Subaru lateral on fresh input after output expiry 2026-11-03 10:09:06 -06:00
firestar5683 a7f4ba8254 Simplify Ford steering settings and preserve independent lateral intent 2026-10-31 20:36:04 -05:00
Dom d513137550 Repair CI test collection and fixtures 2026-10-30 16:07:17 -05:00
firestar5683 0fcf127704 Arm Outback lateral on physical cruise MAIN 2026-10-30 13:07:30 -05:00
firestar5683 d955ebd7a2 Keep schema and caller checks aligned with reviewed source contracts 2026-10-30 02:22:25 -05:00
firestar5683 7e00ee80c4 Align regression and settings coverage with current AOL contracts 2026-10-30 01:05:49 -05:00
firestar5683 5910ddb754 Arm 2020 Impreza lateral on physical cruise MAIN 2026-10-29 19:09:50 -05:00
firestar5683 4c015f6f49 Arm Impreza lateral on physical MAIN and show stock ACC engagement 2026-10-29 13:39:31 -05:00
Dom 44dfd7493f Handle absent AOL latch in Subaru test diagnostics 2026-10-27 15:27:42 -05:00
firestar5683 1454919bfe Preserve Subaru AOL intent across native-first hard stops 2026-10-27 13:23:12 -05:00
Dom 6ebdb1b748 Align qualification fixtures and typing with established contracts 2026-10-26 22:13:51 -05:00
firestar5683 36111dfdb6 Preserve Subaru AOL intent through stops 2026-10-26 16:52:11 -05:00
firestar5683 143b9b5d4f Bound Subaru StopStart pulse with integer nanosecond deadline 2026-10-22 23:50:06 -05:00
firestar5683 c6a366b013 Restore Outback angle and frozen Subaru model smoothing 2026-10-22 21:13:43 -05:00
firestar5683 d747e5ca08 Restore Forester first generation angle control 2026-10-22 19:52:53 -05:00
firestar5683 332d235693 Qualify Subaru native discovery and receiver guards 2026-10-22 19:39:12 -05:00
firestar5683 8c5f4bae13 Restore Ascent angle target shaping 2026-10-22 18:03:21 -05:00
firestar5683 7926a909e1 Restore guarded Legacy AVH startup request 2026-10-22 17:48:36 -05:00
firestar5683 c6db508304 Restore guarded Legacy Stop Start startup request 2026-10-22 16:55:56 -05:00
firestar5683 e3070b7b42 Preserve Subaru angle bounds and current LKAS display 2026-10-22 16:16:26 -05:00
firestar5683 a7c78e97b0 Restore guarded Dom Subaru stop and go 2026-10-22 15:54:33 -05:00