-
Notifications
You must be signed in to change notification settings - Fork 1.6k
HKG: 2021 Kia Xceed PHEV #2708
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
base: master
Are you sure you want to change the base?
HKG: 2021 Kia Xceed PHEV #2708
Conversation
Added KIA Xceed fingerprint to fingerprints.py
Added "Hybrid" to flags for kia ceed
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.
Thanks for contributing to opendbc! In order for us to review your PR as quickly as possible, check the following:
- Convert your PR to a draft unless it's ready to review
- Read the contributing docs
- Before marking as "ready for review", ensure:
- the goal is clearly stated in the description
- all the tests are passing
- include a route or your device' dongle ID if relevant
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.
Kia Ceed and XCeed are indeed very close: https://en.wikipedia.org/wiki/Kia_Ceed#XCeed
We need to rework how the HYBRID flag is set for HKG in general first, otherwise we'll end up having to add a bunch of unnecessary platform permutations.
KIA_STINGER.specs, | ||
) | ||
KIA_CEED = HyundaiPlatformConfig( | ||
[HyundaiCarDocs("Kia Ceed 2019-21", car_parts=CarParts.common([CarHarness.hyundai_e]))], |
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.
Xceed will need an additional CarDocs entry at a minimum
[HyundaiCarDocs("Kia Ceed 2019-21", car_parts=CarParts.common([CarHarness.hyundai_e]))], | ||
CarSpecs(mass=1450, wheelbase=2.65, steerRatio=13.75, tireStiffnessFactor=0.5), | ||
flags=HyundaiFlags.LEGACY, | ||
flags=HyundaiFlags.LEGACY | HyundaiFlags.HYBRID, |
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.
We can't just add the HYBRID flag for all Ceed, that will break the non-hybrid cars. We could potentially add XCeed/Hybrid permutations, but ideally HYBRID should be auto-detected instead.
I added kia xceed fingerprint to the kia ceed port, since they have the same CD platform. everything works as expected, also added the "hybrid" flag in values.py in order to get it to work.
Used Harness B for my car.
Validation