Commit Graph

326 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 3508aba53d Wait for healthy manual MQB startup before arming lateral 2026-11-20 19:49:02 -06:00
firestar5683 cb3bfc720b Preserve stopped Subaru AOL intent after brake release 2026-11-20 07:49:06 -06:00
firestar5683 d4decb9018 Recover manual MQB AOL transitions and match Polaris steering filtering 2026-11-19 19:21:50 -06:00
firestar5683 4cd84f603c Preserve Subaru AOL intent while waiting for steering authority 2026-11-19 17:40:07 -06:00
firestar5683 537f76118a Preserve Honda AOL through Cancel and brake handoffs 2026-11-19 12:01:36 -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 1468cd47d0 Enable optional cooperative steering for Tesla Model Y 2026-11-19 08:56:14 -06:00
firestar5683 1eb46394e1 Review additive perceived-stop schema in incumbent compatibility tests 2026-11-19 00:30:07 -06:00
firestar5683 6083bb4737 Bind manual MQB startup arming to fresh Drive feedback and its original deadline 2026-11-19 00:16:30 -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
firestar5683 8940ba4721 Complete delay descriptions and applied telemetry schema review 2026-11-17 11:54:32 -06:00
firestar5683 c9fd30bfee Preserve MQB AOL across startup and Cancel publication ordering 2026-11-17 09:22:47 -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
Dom ffd70cafe3 Align Toyota caller tests with current acceleration boundaries
Keep production and native artifacts unchanged. Test exact +/-3.5 limits, preserve 2.001 coverage, reject just-outside limits and retain stock longitudinal denial. Both caller suites pass 96 DEBUG/RELEASE checks in the cloud host runtime; Ruff passes. Refresh validated parent inventory for test-only edits. Full aggregate environment remains limited by AF_UNIX socket permissions; no gate or test bypassed.
2026-11-16 22:53:27 -06:00
Peter Nguyen 5e44b4bd34 Merge pull request #261 from trung791997/bosch-a-parser-Dom 2026-11-16 21:02:37 -06:00
firestar5683 e20c8bd884 Preserve Toyota lateral intent during gas source interruptions 2026-11-16 11:07:09 -06:00
firestar5683 aa08848a42 Restore manual Golf PopV2 steering target timing 2026-11-15 23:06:15 -06:00
firestar5683 6486b6b51d Recognize complete 2025 Impreza camera firmware identity 2026-11-15 22:37:51 -06:00
firestar5683 41b9f6f959 Stabilize Honda radar association through vision outliers 2026-11-15 22:21:07 -06:00
firestar5683 96602a0edc Keep MQB AOL through braked startup and accelerator Cancel 2026-11-15 21:54:11 -06:00
Dom 8fa9684f98 fix(hyundai): preserve EV6 AOL for remapped LKAS actions 2026-11-15 12:06:19 -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 0d5bad10bc Preserve Volkswagen AOL through cruise withdrawal and startup 2026-11-14 23:02:21 -06:00
crazyb123 2cf3aa7478 feat(gm): Add OEM-Grade Retrofitted SDGM & Cross-Flashed ADAS Stack Support for 2016 Buick Envision (Chinese Spec) 2026-11-14 21:28:01 -06:00
firestar5683 211c1f3fd0 Preserve idle stock GM startup intent through source gaps 2026-11-14 14:44:05 -06:00
firestar5683 5a62d76315 Remember Subaru MAIN through the temporary steering guard 2026-11-14 09:12:03 -06:00
firestar5683 7fe19d9c3e Restore qualified Sharan PQ always-on lateral control 2026-11-14 02:41:55 -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 fa5d114a4c Restore optional green-light and lead-departing alerts 2026-11-13 17:22:34 -06:00
firestar5683 69667edae6 Preserve Subaru MAIN rearming through brake and signal pauses 2026-11-13 16:59:21 -06:00
firestar5683 768a7c476e Restore MQB MAIN arming and lateral-only Cancel 2026-11-13 13:46:53 -06:00
firestar5683 5661cecedf Preserve armed Subaru intent through stopped feedback gaps 2026-11-13 10:22:39 -06:00
firestar5683 6b329d83f5 Restore HKG startup handoff and independent lateral recovery 2026-11-13 10:10:48 -06:00
Dom 94538a3d4f Restore first-generation EV6 wheel media controls
Restore the pre-rebase selected E-CAN 0x448 mapping for KIA_EV6 only, including HDA I and offset buses. Keep freshness and gesture guards and avoid borrowing Ioniq-specific AOL policy.
2026-11-13 09:39:49 -06:00
whoisdomi a6b9871260 Match Drive Mode button to accel/decel profile 2026-11-12 20:44:15 -06:00
gotens87 be278565fa Radar lat sign fix (leads were mirrored) 2026-11-12 20:21:45 -06:00
firestar5683 d260cc07ad Restore observed GEN1 Rivian radar tracks without changing actuation 2026-11-12 13:56:48 -06:00
firestar5683 dbe6cf56ea Avoid control-loop waits in settings and message reads 2026-11-12 13:49:35 -06:00
firestar5683 805acabc4c Preserve Subaru AOL through brake joins and show armed stops 2026-11-12 09:16:22 -06:00
firestar5683 4771e387c1 Preserve Honda lateral request when cancelling cruise 2026-11-11 23:38:41 -06:00
firestar5683 df785f59f7 Restore EV6 HDA1 AOL and global master configuration 2026-11-11 20:41:21 -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 208ef1d8cd Keep shared HKG lateral through longitudinal cancel handoffs 2026-11-11 11:51:01 -06:00