openpilot
openpilot copied to clipboard
HKG: Resume from Standstill fix for HDA1 Canfd w/ 0x1cf
Description Resume from Standstill does not work for HKG Can-FD cars with HDA1. This is fixed by putting the can send for Cruise Buttons on bus 6 rather than bus 5. The fix requires an IF statement, which I have not written since I am not sure how to do so. This fix only solves the problem for HDA1 cars with the 0x1cf signal like the EV6 and I5. Solves issue: https://github.com/commaai/openpilot/issues/25771
Prerequisite This requires a simple Panda change on L39 of safety_hyundai_canfd.h Bus 0 needs to be bus 2. That is it. see: https://github.com/commaai/panda/pull/1102
Verification This fix has been employed in a fork hoomoose:hda1ev6i5 written specifically for hda1 ev6 and I5 cars and has been successfully tested/used by many!
Also interested in seeing this get merged!
Current code works!
Thanks for all the work on HDA1 @hoomoose!