Commit Graph

44 Commits

Author SHA1 Message Date
firestar5683 dbe6cf56ea Avoid control-loop waits in settings and message reads 2026-11-12 13:49:35 -06:00
firestar5683 34e74abdec Allow Ford stock conventional cruise with always-on lateral 2026-11-10 14:07:51 -06:00
firestar5683 551b781a26 Use the native clock fallback for Ford fog previews 2026-11-10 12:52:59 -06:00
firestar5683 31c7f5ad8e Add read-only Ford rear fog indicator and Galaxy widget 2026-11-10 12:37:41 -06:00
firestar5683 cefe49d2fd Fix classic Ford dashboard handoff during lateral pause 2026-11-10 00:06:22 -06:00
firestar5683 d39ea5382c Prevent false Ford recovery releases and steering refusals 2026-11-08 15:39:55 -06:00
firestar5683 6d5624f564 Order StarPilot Ford metadata before same-cycle steering 2026-11-04 22:45:29 -06:00
firestar5683 3eb7f3fe29 Preserve Ford lateral intent through initial steering readiness 2026-11-04 15:33:07 -06:00
firestar5683 4b8ca5c379 Match StarPilot Ford demand to native pinion bounds 2026-11-04 14:20:17 -06:00
firestar5683 ffc1aec50b Use planner-primary angle demand with bounded symmetric smoothing 2026-11-02 07:50:07 -06:00
firestar5683 b90a0d485c Keep Ford path angle within sign-correct wire bounds 2026-11-02 00:17:54 -06:00
firestar5683 0b7df146f8 Keep Ford controller comments technical and generic 2026-11-02 00:02:19 -06:00
firestar5683 f429155f0f Keep StarPilot steering active after ordinary driver release 2026-11-01 22:34:13 -06:00
firestar5683 9e4cba8695 Test angle demand conditioning in StarPilot Controller 2026-11-01 21:28:45 -06:00
firestar5683 55f23c7fd5 Restore separate StarPilot Ford controller choices 2026-11-01 17:12:54 -06:00
firestar5683 407288852f Preserve Ford AOL through startup and brake transitions 2026-11-01 16:52:24 -06:00
firestar5683 72f16053b5 Keep Ford curvature handoffs within native steering limits 2026-10-31 22:57:13 -05:00
firestar5683 a7f4ba8254 Simplify Ford steering settings and preserve independent lateral intent 2026-10-31 20:36:04 -05:00
firestar5683 31b34665ce Preserve Ford AOL across gas override and lag recovery 2026-10-31 17:55:34 -05:00
firestar5683 f26ab5e7f1 Integrate pinned BluePilot defaults and qualify Ford AOL lifecycle 2026-10-31 13:29:29 -05:00
alan-polk 49b651af70 openpilot: BluePilot lateral startup bits, per-frame inputs and settings registry
- params_keys.h: every setting in the library's manifest (python -m opendbc.bluepilot_lateral.params.manifest),
  without BACKUP, which StarPilot's params don't have. disable_BP_lat_UI defaults to "1": BluePilot lateral
  is off until the user turns it on.
- car init (VehicleStartupPreferences.prepare): init_ford_safety_param_starpilot ORs the library's startup
  bits into the Ford param. They stay off without the openpilot toggle, in Safe Mode, or when a startup
  setting can't be read.
- card (configure_controller): the Ford CarController gets a BluePilotInputs, which fills the library's
  LateralInputs from modelV2, vehicleParameters and lateralDelay each frame and re-reads the per-frame
  settings every 3 s.
- test_bluepilot_lateral.py: the init path's bits, the real CarController and libsafety with the same
  param, for a CAN and a CAN FD Ford, off/on/on+pinion/pinion-only, curvature and angle mode: every
  steering and LKA frame passes, and only angle mode with BluePilot on steers through the path angle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 22:49:32 -05:00
alan-polk 8da0c9d916 Ford: remove the interim BluePilot port; AOL on the stock profiles
StarPilot's angle-only bluepilot_lateral adaptation and the BluePilot-derived curvature strategies (Mach-E,
classic, Explorer, generic CAN FD, new-port curvature, manual-turn latch, curvature preview, pinion
measurement) are removed, with their extended safety profiles 16/32/64 and the interim angle word 128. Ford
lateral is upstream's stock curvature path until the BluePilot lateral library is mounted.

StarPilot's own Ford features stay, re-keyed from the extended words to the stock ones:
- AOL: classic 32 -> 0, Mach-E 18 and the CAN FD trucks 66 -> 2 (+1 with openpilot long); the CAN FD
  retained-display rules apply to word 2. Edge/Mondeo/Transit and the manual bit (256) are unchanged.
- release CAN FD long: word 3 (was 19/67); 19 and 67 are now retired and denied.
- stock cruise switch, CAN FD camera-lead radar handling, hands-free cluster: keyed on the Ford family.
- classic stock ACC (0) keeps the no-ACCDATA TX list the extended classic profile had.

Bits 9-14 of the Ford param are reserved for the BluePilot lateral library's startup bits
(safety/modes/ford_param.h); AOL and pandad mask them out of the profile word.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 22:49:32 -05:00
firestar5683 f4ec1c187e Share corroborated CEM lead departure across vehicle configurations 2026-10-30 10:48:59 -05:00
firestar5683 3e7a3dded8 Release corroborated Mach-E lead departure from CEM standstill hold 2026-10-28 15:25:31 -05:00
firestar5683 b8aa3b9eca Arm Ford Alpha AOL on the first physical MAIN edge 2026-10-28 14:41:17 -05:00
Dom 4cbffe53b3 Ford: add opt-in pinion curvature measurement
Adapt BluePilot PR #145 by jrneulight (fe5b019568c8c13fb894dc6d8d779d60985051a8) to the existing exact native profile protocol. Default off; qualified parked setting applies at next startup. Preserve existing larger Mach-E envelope, all yaw/heartbeat/relay health, command limits and shadow freshness checks.

Cloud qualification: 171 host tests and 170 subtests; 80 new native/geometry tests; 153 existing native tests and 9131 subtests; release native tests, pandad protocol inventory and full ARM debug/release builds passed. Rebuilt source-stamped firmware follows before branch publication.
2026-10-27 17:14:17 -05:00
firestar5683 b5807a459d Restore Mach-E stopped-lead braking on rolling approaches 2026-10-27 13:45:34 -05:00
firestar5683 e1e02b3949 Preserve Ford lateral intent when cancelling cruise 2026-10-27 12:41:47 -05:00
firestar5683 fc5875831c Arm Ford AOL when cruise engages before the automatic MAIN pulse 2026-10-25 14:10:02 -05:00
firestar5683 9712480382 Retain Ford AOL intent through temporary EPS recovery with gas held 2026-10-24 12:42:09 -05:00
firestar5683 3f693e1735 Keep Ford angle AOL within native steering limits through turns and pedals 2026-10-24 10:40:09 -05:00
firestar5683 1996510d7a Enable BluePilot angle steering with retained Ford AOL 2026-10-23 20:52:06 -05:00
firestar5683 aaa2f687ea Complete Ford release long manual and multi-Panda support 2026-10-22 22:49:49 -05:00
firestar5683 7f584d7e58 Deliver Ford MAIN rearm after prior feedback clears 2026-10-22 17:43:06 -05:00
firestar5683 e57c9a5989 Retain stock Ford intent when braking overlaps temporary EPS loss 2026-10-22 11:19:01 -05:00
firestar5683 a3b270cbfc Retain Ford lateral intent when cruise engages under accelerator override 2026-10-22 11:06:50 -05:00
firestar5683 fb943dd85a Retain qualified lateral intent across temporary withdrawals 2026-10-22 08:09:06 -05:00
firestar5683 371000a848 Preserve Ford AOL intent with the initial integrity epoch 2026-10-22 08:06:00 -05:00
firestar5683 b3c26b5824 Match Dom hands-free cluster scope across Ford CAN-FD 2026-10-21 12:36:48 -05:00
firestar5683 297f56f29a Match Dom Mach-E cluster messages with stock idle ownership 2026-10-21 11:32:09 -05:00
firestar5683 ec856f38e6 Retain stock Ford AOL intent across short command gaps 2026-10-20 21:21:56 -05:00
firestar5683 31c5010e11 Preserve Ford AOL intent across qualified physical pauses 2026-10-20 18:51:56 -05:00
firestar5683 34334f26d2 Ford
Provide curvature and optional BluePilot angle controllers for supported Ford configurations, with per-Panda transport and native safety hooks.
2026-10-14 20:02:39 -05:00
firestar5683 f45cc97134 AOL
Define host-to-Panda AOL intent, policy and wire contracts with neutral defaults before vehicle adapters register capabilities.

Co-authored-by: dirwin31 <83434411+dirwin31@users.noreply.github.com>
2026-10-14 19:56:17 -05:00