Skip to content

Hyundai CAN Longitudinal: Enable for Camera SCC cars#1107

Closed
sunnyhaibin wants to merge 15 commits intocommaai:masterfrom
sunnypilot:camera-scc-long
Closed

Hyundai CAN Longitudinal: Enable for Camera SCC cars#1107
sunnyhaibin wants to merge 15 commits intocommaai:masterfrom
sunnypilot:camera-scc-long

Conversation

@sunnyhaibin
Copy link
Contributor

@sunnyhaibin sunnyhaibin commented Oct 15, 2022

openpilot longitudinal control support for CAN-based HKG cars that have the following messages send from the car on bus 2:

  • SCC11
  • SCC12
  • SCC13
  • SCC14
  • FCA11
  • FCA12

Currently with 2022 Hyundai Kona EV, without radar disable. As the messages send from the car on bus 2, we block the messages and send our own longitudinal commands to bus 0.

FCA11 and FCA12 do stock FCW and AEB, and are forwarded from the LKAS camera to the car.

Prerequisite of

Related

Thanks to community Kona EV 2022 owner Zack1010OP.

@adeebshihadeh
Copy link
Contributor

Can you write a test case for these in tests/safety/test_hyundai.py?

@sunnyhaibin
Copy link
Contributor Author

Can you write a test case for these in tests/safety/test_hyundai.py?

I could attempt it in the next coming days.

@sunnyhaibin sunnyhaibin marked this pull request as ready for review September 25, 2024 06:18
@sunnyhaibin
Copy link
Contributor Author

Can you write a test case for these in tests/safety/test_hyundai.py?

Unite test updated and all passed.

@sunnyhaibin sunnyhaibin changed the title Hyundai: Longitudinal support for CAN-based Camera SCC cars Hyundai CAN Longitudinal: Enable for Camera SCC cars Sep 27, 2024
Co-authored-by: Shane Smiskol <shane@smiskol.com>
@sunnyhaibin
Copy link
Contributor Author

@sshane @adeebshihadeh anything still required for this PR to merge before 0.9.8 release? We have the changes in opendbc merged and bumped in openpilot, but users are unable to use openpilot longitudinal due to SCC messages not blocked on bus 2 (from this PR):

@sshane
Copy link
Contributor

sshane commented Feb 20, 2025

We've moved the car safety code into opendbc, please rebase and re-open your PR there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants