Compare commits

...

16 Commits

Author SHA1 Message Date
DevTekVE 52ab3c5a73 feat(hyundai): add interceptor message integration for ADAS CAN
- Added `HYUNDAI_CANFD_ADAS_INTERCEPTOR_MESSAGES` definition for improved ADAS feature support.
- Integrated interceptor message into various Hyundai CAN FD message sets.
2025-07-15 08:06:41 +02:00
DevTekVE 5636681e69 refactor(hyundai): remove redundant superclass initialization
- Eliminates unnecessary `super().__init__()` call in `MadsCarController`.
- Simplifies initialization logic.
2025-07-14 23:34:51 +02:00
DevTekVE f3d2a83542 refactor(hyundai): reorder MadsCarController in inheritance chain
- Reorganized class hierarchy to adjust initialization and behavior.
- Ensures better compatibility with existing controllers and ADAS features.
2025-07-14 23:34:18 +02:00
DevTekVE 7675076636 feat(hyundai): enable alpha longitudinal availability in stock_cp
- Sets `alphaLongitudinalAvailable` to `True` for improved ADAS capabilities.
- Supports future enhancements around ADAS ECU interceptor toggling.
2025-07-14 23:30:38 +02:00
DevTekVE ee2e0789e5 lint 2025-07-14 23:25:56 +02:00
DevTekVE ddd8d777b6 feat(hyundai): add constructors for ADAS ECU interceptor classes
- Added `__init__` methods to initialize parent class with CarParams.
- Improves consistency and readiness for extended functionality.
2025-07-14 23:24:39 +02:00
DevTekVE e3f8ec6d7a lint 2025-07-14 23:22:33 +02:00
DevTekVE fcb864d0c1 feat(hyundai): add base classes for ECU interceptors
- Added abstract base classes for ECU interceptors, car state, car controller, and radar interface.
- Introduced `AdasDrvEcuInterceptor` implementation for specific Hyundai ADAS ECU needs.
2025-07-14 23:20:30 +02:00
DevTekVE 83de699f8b i cant....... 2025-07-13 17:08:36 +02:00
DevTekVE 00f90f7d76 aa2 2025-07-13 17:05:19 +02:00
DevTekVE 4dea3869eb aa2 2025-07-13 17:02:03 +02:00
DevTekVE 73b828d5ca aa2 2025-07-13 16:54:43 +02:00
DevTekVE eb66ac4f72 aa 2025-07-13 16:51:31 +02:00
DevTekVE 6db184eb37 Update ADAS driver intercept message to utilize CC.latActive instead of CC.enabled for testing 2025-07-13 15:06:02 +02:00
DevTekVE c408d96f79 Standardize naming of status field in ADAS driver intercept message
- Renamed `Status` to `status` in `_hyundai_canfd_sunnypilot.dbc` for consistency.
- Updated corresponding field in `create_adas_drv_intercept_msg`.
2025-07-13 15:03:37 +02:00
DevTekVE c830420450 Update ADAS driver intercept message with additional signals and enable flag handling
- Added `CHECKSUM`, `COUNTER`, and `Status` signals to `_hyundai_canfd_sunnypilot.dbc`.
- Enabled flag support in `create_adas_drv_intercept_msg` within `hyundaicanfd.py`.
2025-07-13 14:38:52 +02:00
3 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -205,6 +205,8 @@ inline static std::unordered_map<std::string, uint32_t> keys = {
{"HkgTuningAngleMaxTorqueReductionGain", PERSISTENT | BACKUP},
{"HkgTuningAngleActiveTorqueReductionGain", PERSISTENT | BACKUP},
{"HkgTuningOverridingCycles", PERSISTENT | BACKUP},
{"HkgAngleLiveTuning", CLEAR_ON_MANAGER_START}
{"HkgAngleLiveTuning", CLEAR_ON_MANAGER_START},
{"AdasDrvEcuInterceptorEnabled", PERSISTENT | BACKUP}
};
+1
View File
@@ -74,6 +74,7 @@ def manager_init() -> None:
("HkgTuningAngleMaxTorqueReductionGain", "100"),
("HkgTuningOverridingCycles", "17"),
("HkgAngleLiveTuning", "0"),
("AdasDrvEcuInterceptorEnabled", "0"),
]
# device boot mode