Commit Graph

2900 Commits

Author SHA1 Message Date
Saber fc4ec00a90 HKG: Car Port for Hyundai Custin 1st Gen (#29476)
* HKG: Car Port for Hyundai Cusitn 1st Gen

Hyundai Custin is asia only car ,named Custo in China.
Hyundai K , talk with Sotana CAN BUS
test route"0bbe367c98fa1538|2023-08-19--01-58-42--0"

It's my fisrt time to PR a port car. I must miss something I don't know. Waiting your instruction to complete it.

* Add route

Add route

* update interface.py

Add interface values

* Update values.py

type

* slight cleanup

* stock openpilot route

* Add credit to release note

* lkas11 fault fix

* Generate CARS.md

* SCC is standard

* crc8

* Update new route

Add a new route "0bbe367c98fa1538|2023-09-16--00-16-49--0"

* sort

* Update selfdrive/car/hyundai/interface.py

* rename platform var

* we want abs!

* was looking at a vw lol

* 096

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: db50e42202413f161ccfac220640fefc482bc68f
2023-09-26 02:56:32 -07:00
Jason Wen 00444eba04 Hyundai: add FW Versions for Santa Fe Plug-in Hybrid 2023 (#30036)
* Hyundai: Add FW Versions for Santa Fe Plug-in Hybrid 2023

* Update CARS.md
old-commit-hash: d3763039da5563b8f2f052e450fa017d7b1f7cf2
2023-09-26 02:31:05 -07:00
Jaeseok Choi 309d3d2d44 Kia: add FW versions for KIA_K5_2021 (#30048)
* add fingerprint for KIA_K5_2021

* remove FW from other queries

---------

Co-authored-by: Jaeseok Choi <js01.choi@samsung.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ef79f908fcabce9e64441e86a9e93d93475afbf0
2023-09-26 02:01:53 -07:00
Erich Moraga 2ae904e652 Car docs: add Lexus IS 2022 (#30055)
* Car docs: add Lexus IS 2022

https://github.com/commaai/openpilot/pull/30032 was actually a 2022, so updating documentation accordingly.

* docs.py gen'd CARS.md w/ 2022 Lexus IS update
old-commit-hash: 8fbf62a60895ceefdfd75e0136c0a62b39529278
2023-09-26 01:33:25 -07:00
Shane Smiskol 8ffec5fe68 HKG: add note for Kona EV 2nd gen (#30051)
* HKG: add note for Kona EV 2nd gen

* HKG: fix CAR_INFO dict formatting
old-commit-hash: aaed1b2790b4b4eacfbe09b249bb166fb07f2747
2023-09-25 19:44:43 -07:00
Erich Moraga 860ae4c02d Toyota: add several ECU versions for LEXUS_IS_TSS2 (#30032)
`@lawabidingcitizen#7036` 2023 Lexus IS350  DongleID/route 0a89412f77c48f02|2023-09-22--17-56-09
old-commit-hash: 9e64eabc3ce36a81561464e274e5dda863742ca6
2023-09-25 12:24:23 -07:00
Nelson Chen 209d902d8c Lexus: add engine FW for Lexus NX 2020 (#30031)
New Engine

Example Routes:

* 4c7b96026712d831|2023-09-24--14-16-17
* 4c7b96026712d831|2023-09-23--18-32-11
old-commit-hash: ffeb9a93b70fcfe7f0d5dfd9112b11c5cdf43558
2023-09-25 12:19:51 -07:00
zaidhas0 9453b69944 Hyundai: 2023 Santa Fe fingerprint (#30020)
* values.py

* Apply suggestions from code review

* Apply suggestions from code review

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d8480a04480e42fd8d4450cf2035e89b01e176b7
2023-09-23 23:08:08 -07:00
Shane Smiskol e675c9381f Toyota: improve platform code understanding (#30015)
* return a dict where minor version is not in keys

* limit valid chunks to 3 (max seen)

* First short version character is always 3 (we were using wrong platform code)

* docs updates

* not here

* fixes for printing new platform code format

* ecu notes

* notes

* platform code tests

* no tuple

* can visualize the whole thing now

* make it clear there's no major versions

make it clear there's no major versions

* static analysis

* two minor versions

* fix

* not using dsu

* comment

* comment

* comment

* forgot this one
old-commit-hash: c3d0bf7b5e09de43484613e98a02f2606642bbd0
2023-09-23 02:13:58 -07:00
Shane Smiskol 78464b1d86 Hyundai: use EV/hybrid car lists for ELECT gear signal (#30009)
* remove duplicate hybrid/ev list

* test
old-commit-hash: 2ebf0b186e76e0027098fb0e39980760f38723f3
2023-09-22 21:52:29 -07:00
Hoya 268bf23712 Hyundai: Car port for AZERA Hybrid 6TH Generation (#29984)
* Update interface.py

add AZERA HEV 6TH_GEN

* Update hyundaican.py

ADD AZERA HEV 6TH_GEN

* Update values.py

add AZERA_HEV_6TH_GEN

* Update override.yaml

add AZERA HEV 6TH GEN

* Update CARS.md

add AZERA HEV 6TH GEN

* Update CARS.md

* Update routes.py

Add AZERA HEV 6TH GEN

* Update routes.py

* Update values.py

* Update values.py

* Update routes.py

* Update routes.py

* Update values.py

* Update values.py

* Update CARS.md

* Update values.py

* Update RELEASES.md

* Update RELEASES.md

* Update routes.py

* Update routes.py

* Update routes.py

* The route driven by added value.py with engine and transmission finger.

* Update interface.py

I applied it with the actual vehicle spec value.

* move up release to 096

* fixes

* docs

* fix mass

---------

Co-authored-by: haram-KONA <88036668+haram-KONA@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e16d530da9add3ecc18f72b9fd7582215e5030b5
2023-09-22 02:06:16 -07:00
Shane Smiskol 75f4227690 Kia: Optima Hybrid 2019 car port (#29992)
* add 2019 OptimaH

* fix

* fix gears

* rename

* should be in unsup long

* fix

* probable cause

* add test route

* update docs

* fix test

* spacing

* note it's only old
old-commit-hash: 39c8bfc09c8add627b573583572e6bf46983e9bd
2023-09-22 00:58:14 -07:00
Jiyong Youn 66924a9265 HKG: Add FW versions for Kia K5 Hybrid 2022 (#29988)
* HKG: Fingerprint for Kia K5 HEV 2022

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d62a1135af6adf6503e8a3bcccb3c6a4b0255c35
2023-09-21 19:04:53 -07:00
Shane Smiskol fb8b1fba85 HKG: remove duplicate FW version
old-commit-hash: 897566957d70b179254ac53287fef402ff692602
2023-09-20 03:00:05 -07:00
Shane Smiskol a48dbc33f6 Honda: add missing Ridgeline 2021 FW version (#29991)
add missing combo meter
old-commit-hash: 16f0829404947da8bdc248cf60086c053c171537
2023-09-20 02:18:57 -07:00
kiwicolt 0ae33cdf2c HKG: FW for ICE Kia Sportage 2022/23 Australia and New Zealand (#29990)
* Update values.py

* Update values.py

Added Kia Sportage 2022/23 for Australia and New Zealand.

* Update values.py

Added Kia Sportage for AUS and NZ
old-commit-hash: 28e384e7a388fff80031d03e1d58afa6908db14f
2023-09-20 02:07:09 -07:00
Jason Wen 4a07833410 HKG: Add FW Versions for Kia Carnival 2024 (#29962)
old-commit-hash: 6a4c4836b845d0a6d405e310fa2169a85e45ea16
2023-09-20 00:29:25 -07:00
Saber e629577389 VW MQB: Add FW for 2019 Skoda Superb (#29955)
route name:0bbe367c98fa1538|2023-09-18--12-06-13--0
old-commit-hash: 9959a93a4a612cfae9695a08daefc8080bb46c9e
2023-09-20 00:25:24 -07:00
Adeeb Shihadeh 6d8694317c Update Python packages and pre-commit hooks (#29974)
* Update Python packages and pre-commit hooks

* fix linter

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
old-commit-hash: cd75dcb03fa282d461544ef097f8701f1aa5578f
2023-09-19 16:24:58 -07:00
Shane Smiskol ac0c7b01c8 Revert "Toyota: use torque control for Japanese-made 2023 RAV4" (#29978)
Revert "Toyota: use torque control for Japanese-made 2023 RAV4 (#29896)"

This reverts commit 41a0ddf58e17eefe1694cce013ce67213f644dc7.
old-commit-hash: b50a769ae9f1e13ad37d2dfa94896b58a301a703
2023-09-19 14:29:54 -07:00
Adeeb Shihadeh 1925b7e9bf docs: don't show panda kit in shop (#29963)
old-commit-hash: 747a6149b41a91a9438a7f735b057007da73ac9a
2023-09-18 16:30:11 -07:00
Narayan Babu 798d1dd91e Add Tiguan 2019 fingerprint (#29892)
* Added new ECU fingerprints

* Update values.py

formatting, syntax
old-commit-hash: 5831c05a11fbbab79cbd0c9d842b8931929b6268
2023-09-16 00:19:20 -07:00
venmer2 9a6d8dd8b1 VW: missing FW for Tiguan 2019 (#29943)
* Update values.py for VW Tiguan 2019 SEL

Added all ECU Firmware Versions for VW Tiguan 2019 SEL model

* rm duplicates

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ce608d03b7b258fee6248911a0aa4718d8123043
2023-09-15 23:24:30 -07:00
Quake4net 7d1add15e3 VW: fingerprint for Crafter MK2 (#29926)
* Update values.py

Added Crafter_MK2 fwVersions: Problem there where two engine ecu's with the same address, I added both into the fwVersion list.

* Update values.py

deleted the hyundai engine ecu fwVersion - Discord told me to ignore Hyundai parts so I deleted that one line again.
old-commit-hash: f7d49ecca1fff0f680080919f87af790da2cd455
2023-09-15 23:11:20 -07:00
next176 03ce444eb9 Hyundai Ioniq 6 "EUR" fwdCamera fingerprint (#29930)
* Update values.py

Hyundai Ioniq 6 Premium AWD 2023 / EUR fingerprint

* Update routes.py

Ioniq6 EUR model

* Update selfdrive/car/tests/routes.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 22e7aa3d985d273d0a66198d9549f1778d79ed83
2023-09-15 14:05:44 -07:00
Shane Smiskol 173e95c37d bump opendbc (#29922)
* change signals

* bump opendbc

* bump

* bump
old-commit-hash: 7ceccaf6c31a194bacb9eaa96cad74bb8a148567
2023-09-15 00:30:49 -07:00
Shane Smiskol 600c5e2644 test_models: check controlsd events (#29907)
* test_moedls: check controlsd events

* clean up

* sort

* controlsd modifies CP

* fix

* can use any segment now

* final fix

* use constant
old-commit-hash: 1410a1150c9909bc643df4e2cacbefa721d3b6cb
2023-09-14 20:20:49 -07:00
Shane Smiskol 44d4f1f615 Toyota: use torque control for Japanese-made 2023 RAV4 (#29896)
* use torque for 2023 RAV4s that allow it

* FW

* better cmt

* better

* better values comment

* switch

* add torque params

* simpler

* better to use steerControlType

* ???

* fix condition

* adjust params

* pid is only for old cars

* add comment

* move comment up

* one if

fix

* invert

* better comment

* better here

* for

* add torque hybrid test route

* fix condition

* this might be simpler

* back to one if

fix

* better name

* other way

* this reads so much better

* last change

* better

* did i break ci?
old-commit-hash: 9dfd0579d4bcf4065ee289a2486bb77f0700655a
2023-09-14 14:48:12 -07:00
Jason Wen 44e4114312 HKG: Car Port for Kia K8 Hybrid 2023 (HDA2) (#29899)
* HKG: Car Port for Kia K8 2023 (HDA2)

* Fix release docs

* add test route

* engaged segment

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 0d3cc2ae04e5578da45dd5632791cc08977cfb59
2023-09-13 15:20:03 -07:00
Jason Wen d644d1db0b Hyundai: Car Port for Azera 6th Generation (#29876)
* Hyundai: Car Port for Azera 2022

* harness k

* not crc8

* use gen

* add test route

* Middle East only

* Revert "Middle East only"

This reverts commit 1abe795ad00d10344761e99f415a1cfc14f4c163.

* rename to 6th gen

* sorting

* has a little less torque

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 748eb4a7c7c8f3eae22659f450ba50ba0a8f3fb1
2023-09-13 02:22:04 -07:00
Erich Moraga b5bfa999af VW MQB: Add missing FW versions for 2018 Skoda Superb (#29792)
VW MQB: Add SRS, transmission, & engine ECU versions for 2018 Skoda Superb

`@Gottmoz#6511` 2018 Skoda Superb  DongleID/route 54ada937747ef8ca|2023-09-06--06-40-46
old-commit-hash: 9b959dc86e1fb9ba04bca1b3dc4139d9f643c325
2023-09-12 01:44:59 -07:00
Shane Smiskol 9f8d7c91de Hyundai CAN FD: disallow Manual Speed Limit Assist for EVs (#29888)
* bump opendbc

* block MSLA

* EV only

* Update selfdrive/car/hyundai/carstate.py

* Update selfdrive/car/hyundai/carstate.py

* Update selfdrive/car/hyundai/carstate.py

* Update selfdrive/car/hyundai/carstate.py
old-commit-hash: 279377ec0b8fcd6deae37143f6d333d2a49a2ee7
2023-09-12 01:34:33 -07:00
Shane Smiskol 8f7c39faf1 Hyundai CAN: log nonAdaptive cruise state (#29880)
* log nonAdaptive

* bump opendbc

* test labeler

* test labeler 2

* revert
old-commit-hash: 3d60e8a2a056fc798c23734377f1e3883b115a32
2023-09-12 00:09:09 -07:00
freddiebd 84ae95af8b VW MQB: Add FW for 2019 Golf R Estate (#29843)
old-commit-hash: 30084bb1beee0e8b62ee049016a482420389dfb5
2023-09-11 14:11:32 -07:00
Jason Wen 0098063877 Hyundai longitudinal: enable for KONA_EV (#29779)
* Hyundai longitudinal: enable for `KONA_EV`

* add test route

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 253d8ccb85b26e02f676907263963d8b5d9e1534
2023-09-10 20:48:41 -07:00
Jason Wen 6615e88e03 HKG: Add FW Versions for Kia Carnival 2024 (#29840)
old-commit-hash: 72d383262dbedda123ac9e7ba8ae85901e75f1c9
2023-09-10 20:33:02 -07:00
Lee Jong Mun 89e5ee45ca cleanup remnants of LQR and INDI tuning (#29860)
* not use 'indi' cleanup

* bump cereal

* rm more

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 238f9d65dbc17613c2a045b5741483c3f9a7659d
2023-09-10 16:30:13 -07:00
Shane Smiskol 5cc2baeb4d Toyota: get platform codes & docs (#29853)
* add get_platform_codes function

* add print_platform_codes.py

* add test

* not optional

* constant

* remove optional

* more
old-commit-hash: 06233ca331e5f30adc18acb956274abd9e974657
2023-09-09 19:48:44 -07:00
Shane Smiskol 8ca1aceb8c Hyundai: add platform code fuzzy FW test (#29847)
add test to assert no crashing
old-commit-hash: c61479b1aebcf9b713865d18b3e37947c821cca6
2023-09-08 15:15:22 -07:00
Adeeb Shihadeh c37ccd4565 mock car cleanup (#29835)
* mock car cleanup

* fix
old-commit-hash: fb1b1f15aaaf401b20f790e61aebeb1b6d2c9249
2023-09-08 14:03:14 -07:00
Jason Wen 11d6678644 Hyundai: Add FW Versions for Kona Electric 2023 (#29805)
* Hyundai: Add FW Versions for Kona Electric 2023

* Update selfdrive/car/hyundai/values.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d9ce8ab7163f7dc60983a5b45600824477a5bcd0
2023-09-08 00:39:48 -07:00
Shane Smiskol dcea02d4dc Hyundai: add comment about date codes in ABS FW
old-commit-hash: 3a7a42cf5b6f8d4e5f6030ef8da2a4db1a6757c4
2023-09-08 00:34:27 -07:00
Shane Smiskol 2892856291 Hyundai: remove bad Kona EV 2022 query responses
old-commit-hash: b822a57ed66bf0dca1403319c193bfbb58a7a428
2023-09-07 19:24:19 -07:00
Justin Newberry 5b1e60f5da Pytest: enforce a default timeout (#29793)
* pytest: enforce default timeout

* disable that for now

* 30 second timeout on tests
old-commit-hash: b0a71d45536d6fe0c0e8365913c6ffbc64a58b1b
2023-09-07 17:53:51 -07:00
Justin Newberry 37e4b2cba9 CI: run unittests in parallel with xdist (#29756)
* parallel tests

* review suggesions

* add to pyproject

* add a bit more buffer on that

* fix rare athena issue

* remove from pypoetry
old-commit-hash: dde225221e8fa0063bb52786232be33b8374dfcd
2023-09-07 16:29:36 -07:00
Justin Newberry 1b35278d95 Subaru: remove 2020+ temporary steering faults (#29116)
* subaru steer faults

* it takes a bool now

* Update selfdrive/car/subaru/carcontroller.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* that was removed

* should be abs

* bump panda

* bump panda

* subaru faults

* add fixme

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* review suggestions

* still want zero steer when lat not active

* bump submodules

* move it under the non-preglobal section

* better comment for steer limited

Co-authored-by: Shane Smiskol <shane@smiskol.com>

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fb06b98667483bbf9d62b16d7f5aa5e50721f597
2023-09-07 15:28:46 -07:00
Justin Newberry a1b0f02051 Subaru: don't copy eyesight counters, calculate manually (#29533)
* subaru manual counters

* update ref

* that isn't used

* review suggestions
old-commit-hash: 338288df6e0f872ddc6c1cd02ce130d6ce154e36
2023-09-06 16:08:59 -07:00
Justin Newberry 85af024d45 Subaru: add GEN1 longitudinal test route (#29753)
* add long route

* fix duplicates

* need to bump that slightly up

* commented for now

Co-authored-by: Shane Smiskol <shane@smiskol.com>

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ec945dc53d172ce51d720e0e46ed9f814dd7d90a
2023-09-06 09:26:16 -07:00
Eric Day 8702d1b967 Toyota: detect TSS-P CAN filter device as smartDsu to enable long (#28387)
* detect tss-p canfilter device as smartDsu to enable long

* Add canfilter test case

* add comment, behind alpha long

* add doc

* safe

* update check

* cmt

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 89d6bc6c7b6b4e55cf573dc1ebcf88533d7baee4
2023-09-06 01:36:16 -07:00
Jason Wen 30e06a8dd3 Nissan Altima: specify panda flag for alternate EPS bus (#29783)
* Nissan Altima: Specify panda flag for alt bus safety config

* bump

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d7d751160de3899c52a51654701505e3aa24eb66
2023-09-06 00:48:17 -07:00