Commit Graph

2928 Commits

Author SHA1 Message Date
Shane Smiskol 19496e86c7 Kia: add missing K5 2024 FW (#30220)
* Add missing K5 FW

All it took was the extra few months for the camera FW date

* update docs
old-commit-hash: e030a701fae870d5100fbc59c0407234c4bd17b8
2023-10-10 15:17:09 -07:00
Christian B. G. Ta 5889fdc483 Hyundai: add missing FW versions for Kona EV 2022 (#30200)
* Update values.py - Hyundai Kona 2022 fingerprints

Car was new in summer 2023 in EU/Norway

* Update selfdrive/car/hyundai/values.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 66d5914175e661a32410c105647ca4cc2467bcd8
2023-10-09 16:58:45 -07:00
Jason Young 6ea4f7e71e VW MQB: Add FW for 2023 Volkswagen California (#30207)
old-commit-hash: 8e247e063edcca9601fd885df2a67eea1a1e16fe
2023-10-08 15:21:34 -07:00
Shane Smiskol 2cf913c407 Toyota: parse FW versions for more reliable fuzzy fingerprinting (#28641)
* add test from hyundai

* found tss2

* abs and engine are very rarely shared (avalonh tss2 and camryh tss2 is one example)

* some bad regex

* some pattern work

* some work

* .

* some conceptual clean up

* fix short fw pattern

* hyundai test

* clean up values.py a bit

* print platform codes

* hyundai fuzzy

* pass test

* move around constants

* clean up

* clean up hyundai

* fix print

* more clean up, fix med pattern

* add documentation

* use major version

* some clean up from merge

* some clean up from merge 2

* spot check

* clean up imports

* missing FW_QUERY_CONFIG

* short version: always prefixed with 3, get real platform code

* limit to max chunks seen (3)

* rm engine

* fix that

* get_platform_codes returns dict

* tests

* comments

* fix test

* enable a test

* fix script

* print ecu parts

* enable old test

* clean up some tests

* clean up

* more clean up

* static

* this is all it took?

* add note

* ...

* use less ECUs

* bump

* todo

* clean up fuzzy fp function

* make deterministic in a feat of engineering

* add temp exclude_fw argument for testing

* fix logic

* add blacklist

* add platform and its matches

* fix for nb

* remove fw exclusion

* Revert "remove fw exclusion"

This reverts commit 0e3b47c5a30ebdb647caf5d792b10f517cbdf48f.

* clean up

* Revert "Revert "remove fw exclusion""

This reverts commit 42c55f006a4a0596ff404c67db1a88eb64b45d9e.

* these two have similar chassis according to wikipedia (but mass is relatively different)

* Revert "Revert "Revert "remove fw exclusion"""

This reverts commit 0f874233422d2007cc87bfb1c714cabed6e80049.

* Revert "Revert "Revert "Revert "remove fw exclusion""""

This reverts commit 2411967f5a2b0712773d614ee589321cca4d52a5.

* oof

* shadows global variable

* rm comment
old-commit-hash: c14b76562384e7e9b2aa129ef124f2825db082e4
2023-10-07 18:09:52 -07:00
Adeeb Shihadeh ab6e83ec98 hyundai: add comment with link to PR for corner radars
old-commit-hash: 1a74ed91eedd829b411a103efbfb0b425c323b05
2023-10-07 16:23:47 -07:00
fpjuojyv810059 1b0bb4eeb8 Lexus: add missing FW for Lexus ES 2024 (#30198)
* Lexus: add missing FW for Lexus ES 2024

* already here

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 62e812f4e1210b79be2fd614324b4a3b3bd98411
2023-10-07 07:12:12 -07:00
Hiroshi Nomiyama c18424486c Lexus: add 2023 RX hybrid firmware (#30193)
* Update values.py

* Update values.py

* add FW (camera already here!)

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a8c37ba29b72eea52a9f950bf868a908b94ccb10
2023-10-07 07:06:52 -07:00
Jason Young 99a49cdee7 VW MQB: Add FW for 2021 Audi Q3 (#30182)
old-commit-hash: 8a10d1f5ae61ecef2df9ad19c0ef661ab220fcda
2023-10-07 07:01:24 -07:00
Shane Smiskol 34ad81a239 Toyota: combine similar TSS2 hybrid platforms (#30194)
* combine corolla

* corolla tss2: remove duplicates

* remove gas pedal hybrid signal

* combine RX TSS2

* we only split for static DSU msgs, or sng differences

* Combine NX TSS2

* remove nb

* Combine ES TSS2

* Combine RAV4 TSS2 (torque params for each EPS variant are similar enough, and eps and fwdcamera all are identical)

* Merge TSS-P Lexus NX

* TSS-P Lexus NX: remove duplicates

* TSS-P C-HR: merge

* TSS-P C-HR: remove duplicates

* fix routes

* re-did everything: no diff 🎉

* update test models seg list

* Update ref_commit
old-commit-hash: 3cd0e392eb69f36e23afeeb0af1ee87176bfa96c
2023-10-07 01:26:49 -07:00
Shane Smiskol ef8028f134 Car tests: fix serialize error on fail (#30185)
* Update test_toyota.py

* fix others

* fix
old-commit-hash: 9350b7e179d49b0c9ea29b7597660008430eed5a
2023-10-06 00:07:37 -07:00
Justin Newberry 4d732ad439 Subaru: Outback 2023 fingerprint (#30190)
fingerprint
old-commit-hash: 7f945f10c65b445f630b970ddf4b245d917d5448
2023-10-05 17:15:26 -07:00
Shane Smiskol 4fab2c99e1 Toyota: add missing engine FW for TSS-P Camry Hybrid (#30177)
* missing FW for 2ed432126627c66a

* dups

* dups
old-commit-hash: ed0f50635907ea31b5cb1acc265c32c57e82272e
2023-10-05 01:24:05 -07:00
nickn066 f47717649f Fingerprint: 2023 Volkswagen Taos (#30126)
* Update values.py

Add 2023 Taos

* Update values.py

Removed additional space

* Update values.py

Removed trailing white space

* Update values.py

removed duplicate ecu.srs for CAR.TAOS_MK1

* Update values.py
old-commit-hash: c3479f8984ce2315f1b398d81bb496d1a661208a
2023-10-03 14:28:16 -07:00
Justin Newberry 5eabb35a53 Subaru: crosstrek hybrid is a B harness (#30150)
its a b harness
old-commit-hash: 8cc8952d819740436ef9a53d618437c420819d5b
2023-10-03 13:29:07 -07:00
Shane Smiskol 7f47888dd9 Toyota: whitelist hybrid ECU (#30110)
0x7e2: OBD query, 0x7d2: UDS query
old-commit-hash: c0030482695ae2578e444233c0504a29a2757e08
2023-10-03 03:30:32 -07:00
Shane Smiskol d67a8b6551 Kia: update harness & package for 2018 Kia Sorento
only aus 2018 sorento has LKAS (US has LDWS -- not supported) - https://resource.digitaldealer.com.au/pdf/200674377859eeaf8eb22c1234370909.pdf

old-commit-hash: 0a5e50b5a708331adeef30dab34c992b87a4e5ab
2023-10-02 20:28:32 -07:00
Notstupe 161162c850 hyundai: fix ioniq5/6 sorting (#30122)
put ioniq5/6 back in there place
old-commit-hash: 364353d897afb97da99e894c7995b3b3448aa352
2023-10-02 13:47:53 -07:00
Justin Newberry 58936aa0cb Use StrEnum for car classes (#30114)
* str enum

* import sort

* fix car helpers

* fix that

* fix static analysis
old-commit-hash: 6ae465e4af76e21c6a31c541f37555f6bd0727fc
2023-09-30 17:15:34 -07:00
Erich Moraga 3ec9047145 Toyota: add several ECU versions for 2023 Toyota RAV4 Hybrid (#30111)
`joshtheplumber` 2023 Toyota RAV4 Hybrid  DongleID/route a493a1ab8ea51c2a|2023-09-29--23-51-04
old-commit-hash: ca5a317a5057d966e41abebab3de5bfc2cc71ff2
2023-09-29 20:35:26 -07:00
Shane Smiskol 5bbab4b141 Toyota: add missing FW for ICE RAV4 2023
old-commit-hash: a067f86320601e680f5ccd2a5d413a6763b62178
2023-09-29 20:16:57 -07:00
Shane Smiskol a23976451b Toyota docs: expand Camry Hybrid years to 2024 (#30098)
we've seen a 2024 camryh

1de6c58d0ee17682|2023-09-28--06-37-11--0
old-commit-hash: 5bf117ce2913837f83ac4125c56f190ad8d09b9e
2023-09-29 01:01:49 -07:00
Shurui Gui 268561d402 Mazda: add FW versions for CX-5 2024 (#30093)
* Port CX-5 2024

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 0d7272ea19b625084887f8d983f8fe74ca5e9e11
2023-09-29 00:59:23 -07:00
Shane Smiskol 0f2654177e Car docs: update parts docs for 3X (#30076)
* add panda kit

* better: 3X is default

* how about

* replace more three refs
old-commit-hash: b918e0682256fdc0c202fa55ea6182f58acede5c
2023-09-28 16:20:03 -07:00
Sean Aguinaga 2f0066a458 Ford: add 2023 Maverick Engine FW (#30085)
* Add 2023 Maverick Engine FW

* Pasted wrong line - corrected

* Update selfdrive/car/ford/values.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a30d5d2b7a47cdb050b1aa1f4ff19ef2b392bdf7
2023-09-28 13:59:05 -07:00
Shane Smiskol dcc367c2d6 Hyundai: update Optima Hybrid 2017 harness (#30079)
it's c
old-commit-hash: dbd8e24a17f99ebc20bf674fbafabdfb0d1f5329
2023-09-27 16:15:29 -07:00
Shane Smiskol 373ec5a067 HKG tests: assert standard FW requests in database (#30061)
* test to help catch random FW in PRs

* just fwdCamera

* better?
old-commit-hash: 7073882f87b1ecc4934fd42ff2ade4c8e9fed6e9
2023-09-26 16:41:24 -07:00
Justin Newberry ef75f0ab12 CI: use "slow" marker for pytest (#30063)
* skip to mark

* fix quotes
old-commit-hash: 0251742079b206ce40a3b4d8ae9cec1381494d4a
2023-09-26 13:44:18 -07:00
Pitte86 80d7235cbc Skoda: add FW versions for Superb MK3 (#30026)
* Update Skoda Superb MK3 values.py

* Update selfdrive/car/volkswagen/values.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 7d4fead1b82e9395073ced27da90daa488084104
2023-09-26 02:57:20 -07:00
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