Commit Graph

15572 Commits

Author SHA1 Message Date
infiniteCable2 c115cc7f02 Update opendbc_repo 2025-05-05 18:06:18 +02:00
infiniteCable2 80fc2a23a9 Update opendbc_repo 2025-05-05 17:56:37 +02:00
infiniteCable2 ffb8c4be3a Update opendbc_repo 2025-05-05 17:51:35 +02:00
infiniteCable2 4037328f5b Update opendbc_repo 2025-05-05 17:07:08 +02:00
infiniteCable2 29315cceee Update opendbc_repo 2025-05-05 17:02:54 +02:00
infiniteCable2 cf54fd0363 Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-05-05 16:13:48 +02:00
infiniteCable2 5ac87da6b8 Update opendbc_repo 2025-05-05 16:12:06 +02:00
infiniteCable2 ad86485c12 Update opendbc_repo 2025-05-04 22:57:27 +02:00
infiniteCable2 1c403b1fec Update opendbc_repo 2025-05-04 21:36:59 +02:00
infiniteCable2 10da3dffa9 Update opendbc_repo 2025-05-04 21:35:23 +02:00
infiniteCable2 cd20d74a3f Update opendbc_repo 2025-05-04 21:30:35 +02:00
infiniteCable2 662d121243 Update opendbc_repo 2025-05-04 21:07:10 +02:00
infiniteCable2 62b06bb9f8 Update opendbc_repo 2025-05-04 20:59:54 +02:00
infiniteCable2 55a7ca2ef0 Update opendbc_repo 2025-05-04 20:19:02 +02:00
infiniteCable2 8c783c79c7 Update opendbc_repo 2025-05-04 20:03:14 +02:00
infiniteCable2 6b7a6a2bdf Update opendbc_repo 2025-05-04 19:49:53 +02:00
infiniteCable2 3cee016f51 Update opendbc_repo 2025-05-04 19:41:19 +02:00
Jason Wen f66bf4b185 Sync: commaai/openpilot:master into sunnypilot/sunnypilot:master-new (#874) 2025-05-04 13:29:31 -04:00
infiniteCable2 0eddb5d12c Update opendbc_repo 2025-05-04 19:24:07 +02:00
Jason Wen b6c6a3ad19 Merge branch 'upstream/openpilot/master' into sync-20250503
# Conflicts:
#	opendbc_repo
#	selfdrive/controls/lib/longitudinal_planner.py
#	selfdrive/modeld/fill_model_msg.py
2025-05-04 13:21:27 -04:00
infiniteCable2 a8eff20df4 Update opendbc_repo 2025-05-04 19:21:27 +02:00
infiniteCable2 c510d152e7 Update opendbc_repo 2025-05-04 19:18:24 +02:00
infiniteCable2 0548df4480 Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-05-04 19:17:26 +02:00
infiniteCable2 9896b275d5 Update opendbc_repo 2025-05-04 19:16:51 +02:00
infiniteCable2 ed47a4b0eb Update opendbc_repo 2025-05-04 19:12:54 +02:00
infiniteCable2 331677fce7 Update opendbc_repo 2025-05-04 19:09:55 +02:00
infiniteCable2 c16a6644f8 Update opendbc_repo 2025-05-04 19:06:58 +02:00
infiniteCable2 2550aebf31 Update opendbc_repo 2025-05-04 18:53:18 +02:00
DevTekVE d90e41f08f models: refactor model bundle structure (#870)
* Refactor model and artifact structures with version compatibility filtering

- Introduced `Artifact` struct and nested it within the `Model` struct for improved clarity and organization.
- Updated enums, logic, and parsing to align with the new struct definitions.
- Implemented version compatibility filtering for model bundles using the `is_bundle_version_compatible` helper.
- Enhanced artifact download handling by adding checks for missing URIs, better error management, and improved logging.
- Adjusted model fetching to point to the latest endpoint (`v3`).

* Make linter happy

* Make linter happy

* Refactor model data parsing to improve readability.

Replaced kwargs-based data extraction with explicit parameter passing for clarity. This enhances code readability and reduces ambiguities in method calls, making the parsing logic more maintainable and straightforward.

* Refactor error handling in active model bundle retrieval.

Wrapped the logic to fetch the active model bundle in a try-except block to prevent unhandled exceptions. This ensures more robust error handling and avoids potential crashes when retrieving or processing model data.

* Refactor exception handling in get_active_model_bundle

Replace bare except with Exception to improve specificity and clarity. This ensures better debugging practices and aligns with recommended coding standards. Other minor whitespace adjustments were made for improved readability.

* Update model path to use artifact fileName property

Replaced `fileName` with `artifact.fileName` in the custom model path construction. This ensures compatibility with updated drive model structures and avoids potential file resolution issues.
2025-05-04 17:03:22 +02:00
infiniteCable2 4ef67de997 Update opendbc_repo 2025-05-04 15:30:57 +02:00
infiniteCable2 b37b4706de Update opendbc_repo 2025-05-04 15:25:51 +02:00
infiniteCable2 665deb2d3d Update opendbc_repo 2025-05-04 13:39:50 +02:00
infiniteCable2 da26bef6dc Update opendbc_repo 2025-05-04 13:15:24 +02:00
infiniteCable2 13d2e0b871 Update opendbc_repo 2025-05-04 13:11:11 +02:00
infiniteCable2 da9d170fe0 Update opendbc_repo 2025-05-04 12:44:35 +02:00
infiniteCable2 82c75bc63c Update opendbc_repo 2025-05-04 12:26:27 +02:00
infiniteCable2 0b80c42086 Update opendbc_repo 2025-05-04 10:02:33 +02:00
infiniteCable2 5cb273ef25 Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-05-04 09:55:50 +02:00
infiniteCable2 3cc748dfc1 Update opendbc_repo 2025-05-04 09:55:15 +02:00
infiniteCable2 54beaa7d54 Update opendbc_repo 2025-05-03 23:58:33 +02:00
infiniteCable2 a2da3bf5a8 Update opendbc_repo 2025-05-03 23:53:22 +02:00
infiniteCable2 8529df7bd5 Update opendbc_repo 2025-05-03 21:43:31 +02:00
infiniteCable2 1c4856d523 Update opendbc_repo 2025-05-03 21:34:12 +02:00
infiniteCable2 9fce638756 Update opendbc_repo 2025-05-03 21:04:26 +02:00
DevTekVE 600647d5e2 models: simplify modeld v2 logic process (#875)
* Refactor model runner methods for improved abstraction.

Moved slicing logic to a private `_slice_outputs` method and decoupled `_run_model` for clearer subclass implementation. Removed redundant `output` attribute in `ModelState` to streamline data handling.

* Add output parsing to model_runner and remove duplicate logic

Integrates an output parser directly into `model_runner` for streamlined inference and parsing. Removes redundant parser initialization from `modeld` to avoid duplication and enhance maintainability.

* Reordering

* linter

* linter
2025-05-03 21:01:17 +02:00
infiniteCable2 23548666be Update opendbc_repo 2025-05-03 17:23:15 +02:00
infiniteCable2 716c0532fc Update opendbc_repo 2025-05-03 17:11:33 +02:00
infiniteCable2 5870cfcc89 Update opendbc_repo 2025-05-03 14:20:13 +02:00
infiniteCable2 93f6e7ab01 Update opendbc_repo 2025-05-03 13:15:03 +02:00
infiniteCable2 1f36fb29c5 Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-05-03 12:51:05 +02:00