-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HKG: Car Port for Hyundai Palisade and Kia Telluride 2023-24 (non-HDA2) #1273
base: master
Are you sure you want to change the base?
Conversation
4d68e0f
to
d68fdc4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this one could use some preparatory refactors (in separate PRs) before going forward.
- The CanBus class should move from hyundaicanfd to values, and then just switch to always using that for bus selection on all cars, getting rid of a lot of extra conditional branches.
- The CAN packer functions should gain a bus argument and the bus should be passed down from carcontroller. This will allow a lot of cleanup, especially the duplicate lkas11 packer.
I can help with some of the refactors later.
@@ -113,11 +113,12 @@ def update(self, cp, cp_cam, *_) -> structs.CarState: | |||
ret.cruiseState.standstill = False | |||
ret.cruiseState.nonAdaptive = False | |||
else: | |||
ret.cruiseState.available = cp_cruise.vl["SCC11"]["MainMode_ACC"] == 1 | |||
scc_bus = "SCC12" if self.CP.flags & HyundaiFlags.CAN_CANFD_HYBRID else "SCC11" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
scc_bus is a misnomer, it's really scc_msg.
This PR has had no activity for 9 days. It will be automatically closed in 2 days if there is no activity. |
still does not work, only Dashcam mode, no actual speed, turinng stock SCC ON does nothing. Installed openpilot palisade-2023-port-1 via SSH downloaded this branch, built and installed. copied buld into /data/openpilot/opendbc_new directory Logs available under this route installation and build log
|
Still have troubles to use Comma 3X with Hyundai Plaisade 2023 for non US market with R-Harness tried different builds as well as with stock opendbc and manually compiled here is Also tried to run test
|
|
1c5bce9ae79fdd50/00000001--8051776a29 tried to add fingerprints
but no success |
…023-port-2-new # Conflicts: # opendbc/car/hyundai/carstate.py # opendbc/car/hyundai/hyundaican.py # opendbc/car/hyundai/interface.py # opendbc/car/hyundai/values.py # pyproject.toml
Checklist
selfdrive/car/docs.py
to generate new docsf2cf0de0119d2a16|2023-03-02--09-39-50
f2cf0de0119d2a16|2023-03-03--21-13-05
Link to all physical parts during installation
Supersedes
Requires
openpilot PR