This commit is contained in:
concordia
2024-02-06 00:04:33 -06:00
parent 2964ede91a
commit 38a3903009
3 changed files with 2466 additions and 3 deletions

2457
hyundai_can_full.dbc Normal file

File diff suppressed because it is too large Load Diff

9
notes
View File

@@ -10,9 +10,16 @@ Wishlist:
- When car reports seeing lanes, turn lane keep over to car, resume when car can't see lanes or turn signal is activated - When car reports seeing lanes, turn lane keep over to car, resume when car can't see lanes or turn signal is activated
- Get hyundai speed limit reader merged into frogpilot - Get hyundai speed limit reader merged into frogpilot
- Get stock experimental mode controller merged into frogpilot - Get stock experimental mode controller merged into frogpilot
Pie in the sky:
- Roll up windows on power off (debug dump canbus)
OPKR features: OPKR features:
- Auto Resume at Stop - Auto Resume at Stop
- Button Spam CC - Button Spam CC
- Accelerated Departure by Cruise Gap: Cruise gap automatically changed to step 1 for faster departure, sets back to orignal gap selection after few second. - Accelerated Departure by Cruise Gap: Cruise gap automatically changed to step 1 for faster departure, sets back to orignal gap selection after few second.
ret.cruiseState.standstill ret.cruiseState.standstill cp_scc.vl["SCC11"]["SCCInfoDisplay"] == 4.
Interesting can messages
SG_ C_SunRoofOpenState
CR_Datc_DrTempDispF

View File

@@ -217,8 +217,7 @@ class CarController:
for _ in range(20): for _ in range(20):
can_sends.append(hyundaicanfd.create_buttons(self.packer, self.CP, self.CAN, CS.buttons_counter+1, Buttons.RES_ACCEL)) can_sends.append(hyundaicanfd.create_buttons(self.packer, self.CP, self.CAN, CS.buttons_counter+1, Buttons.RES_ACCEL))
self.last_button_frame = self.frame self.last_button_frame = self.frame
can_sends.extend([hyundaican.create_clu11(self.packer, self.frame, CS.clu11, Buttons.SET_DECEL, self.CP.carFingerprint)] * 25) # can_sends.extend([hyundaican.create_clu11(self.packer, self.frame, CS.clu11, Buttons.SET_DECEL, self.CP.carFingerprint)] * 25)
return can_sends return can_sends