Commit Graph

3581 Commits

Author SHA1 Message Date
Adeeb Shihadeh f970efbc2e Toyota: remove smartDSU support (#32777)
old-commit-hash: cb63f101cadec4f2ce4362b3df849a1d2adf9e56
2024-06-17 19:18:20 -07:00
Harald Schäfer 47d5601d8a long control: new API (#32706)
* Simplify long control

* Seperate

* Rename

* Try new api for toyota

* rm v_pid everywhere

* No speed in reset

* 0 is better default

* unassigned variable

* Update other cars

* Update gm

* SIMPLIFY

* simplify more

* fix API boundry

* Fix stopping bug

* Small fixes

* Update ref
old-commit-hash: bc303df6a0a4a9d52a2e92e5976b6c7aa5138b95
2024-06-14 00:08:58 -07:00
Shane Smiskol 4a9358f3f0 Update docs
old-commit-hash: 4708332abee61116e13da7a4a186ca1b77511dd9
2024-06-13 01:39:17 -07:00
Mustafa Akcanca fd85d472f4 Hyundai: add fwdCamera FW for Ioniq 5 2024 (EUR) (#32648)
* Update fingerprints.py

Adding FW fingerprints for Ioniq 5 2024 EU, non-HDA, fwd camera

* bump my!

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 06828f1e80435fbc3a27781b096e3e2bbc86da69
2024-06-13 01:08:03 -07:00
Mustafa Akcanca a2c002d1d6 Hyundai docs: change Ioniq 5 Southeast Asia only to Non-US only (#32701)
* Update values.py

* ev6 too is probably the same

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 0319379431732ec3855fc7a60ddaa7e5ddb30def
2024-06-13 01:06:45 -07:00
markalan020 af76a68aee Hyundai: add fwdCamera FW for Ioniq 5 2024 (US) (#32623)
* Update fingerprints.py

Add Support for 2024 Hyundai Ioniq 5

* docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f449ed144ea47d8d5f558254c9c4cf04e959fbee
2024-06-13 00:55:52 -07:00
Shane Smiskol f19bfe36a8 Improve ECU address finder script (#32734)
* put pandad in good state

* obd option

* fix

* it's rx
old-commit-hash: 4539c973491bedabb4cd6cf8791d090987c56629
2024-06-12 19:36:26 -07:00
Shane Smiskol a7f2b486a9 Hyundai: add note about fwdRadar FW (#32733)
comment
old-commit-hash: 742a3a94e39440706c8ccff7ad1dcdce506a0c8a
2024-06-12 19:26:34 -07:00
Harald Schäfer d9fb61da16 Long control: Double delay is super complicated (#32694)
* Double delay is super complicated

* No more upper bound

* DEAD

* Update ref
old-commit-hash: 965415135ac7db4c67ea248ac52535eac537f3bf
2024-06-10 22:29:17 -07:00
Shane Smiskol 6022ca899a VW: bump model year of all CRAFTER_MK2 models
old-commit-hash: e3f18b9f95fc4de2a71127d87bc262ee698ae0a0
2024-06-10 16:23:20 -07:00
Shane Smiskol 7d79a17b1a [bot] Fingerprints: add missing FW versions from new users (#32689)
Export fingerprints
old-commit-hash: c514ee7212f7ef43c7451d6e638dd54ec0643dcc
2024-06-10 14:36:42 -07:00
Shane Smiskol 086a4fa3a2 Revert "[bot] Fingerprints: add missing FW versions from new users" (#32688)
Revert "[bot] Fingerprints: add missing FW versions from new users (#32683)"

This reverts commit f47ea264ba9b0177acc86b4cd77fd003dcb85328.
old-commit-hash: 26e52a4aedb172999ce796bd39df5ba5594a3cf7
2024-06-10 13:42:27 -07:00
Shane Smiskol 3fe2a3d338 [bot] Fingerprints: add missing FW versions from new users (#32683)
old-commit-hash: cf100f740e07824e1367a65c74e2b99f5c3b4458
2024-06-10 13:39:02 -07:00
Metalbird1997 802aef0212 Update fingerprints.py for 2024 MAN TGE (#32657)
* Update fingerprints.py for 2024 MAN TGE

* add TGE chassis codes

* unsure about the others

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 19e0fa3094ca407f0c6023b0e26aebb7068db3fa
2024-06-10 00:22:34 -07:00
Nelson Chen dfd4374739 Change the term "Non-US" to "South America" for the "Corolla Hybrid (Non-US only) 2020-23" entry (#32658)
The term "Non-US" in cars.md for the "Corolla Hybrid (Non-US only) 2020-23" is not precise enough and should be changed to South America

Users may think "Non-US" includes Europe or Canada, which is not the case for this entry.

It has two issues:

* The 2023 Corolla Hybrid in Europe and Canada include a new Toyota Safety Sense 3.0 that has yet to be supported due to it being a new version and the presence of Toyota Security Key.
* The 2020-2022 Corolla Hybrid in Europe is the same as the 2020-2022 Corolla Hybrid in North America, which is supported by Openpilot and has full-speed ACC due to the presence of an electronic parking brake which is not present in the 2020-2022 Corolla Hybrid in South America and the reason why it is listed as not having full-speed ACC.

The entry should be reverted to at least "Corolla Hybrid (South America) 2020-23" which was proposed but not merged in the pull request:

https://github.com/commaai/openpilot/commit/28454c04cc93dc241da3b004a7154e44313e85c9

Pull request for that change that does not include that commit: https://github.com/commaai/openpilot/pull/26943

Examples of confusion throughout the community:

comma.ai Discord:

https://discord.com/channels/469524606043160576/524327905937850394/1235264758580772996

https://discord.com/channels/469524606043160576/524327905937850394/1228090600272691370

https://discord.com/channels/469524606043160576/954493346250887168/1209952008329633813

https://discord.com/channels/469524606043160576/524327905937850394/1182093384647721140

https://discord.com/channels/469524606043160576/954493346250887168/1147751657543848017

openpilot community Discord:

https://discord.com/channels/771493367246094347/771495215570747403/1247737844727021629

> I think that the supported cars list (https://github.com/commaai/openpilot/blob/master/docs/CARS.md) is incorrect.
>
> I have a UK 2020 Toyota Corolla Hybrid
>
> In the cars list it's listed as "no accel below" 17 mph and no resume from > stop.
>
> This is not my experience. For me it works just fine down to a complete stop and it can resume from a stop too.
>
>

CC: @AlexandreSato
old-commit-hash: 3b6862030a550b92e8ecc5a51de61811ad12d6b9
2024-06-08 09:18:00 -07:00
Shane Smiskol 945c6b94fa remove old fingerprints test (#32654)
* is this even used?

* remove
old-commit-hash: 90523b3b000e355599a1f2c7d3c90cb6b8498c66
2024-06-07 23:38:51 -07:00
Adeeb Shihadeh 97bfed714c card: remove old canRcvtimeout field (#32650)
* card: remove old canRcvtimeout field

* deprecate
old-commit-hash: b42b156fcd8d98adee9e6b5384558cfabd4f2165
2024-06-07 17:03:17 -07:00
Vivek Aithal dec353a9de [Lag] Increase Optima Lag (#32583)
increase lag in optima to 0.2
old-commit-hash: e8857a6713db6b8b3b8cd67aca1b8c046a4dccd9
2024-06-06 01:14:28 -07:00
Shane Smiskol 9778515344 Genesis G70 2020: use common specs (#32641)
use non-2020 specs
old-commit-hash: ae375091dbc86aaca7a1bf2d9e7e3e9281a33495
2024-06-05 23:44:19 -07:00
Dean Lee eb13fda0b4 improve get_torque_params (#32586)
* Loading torque data only once and reusing it across function calls.

* apply review

* still check only one entry

* fix that

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 045b9f20b717e7c5d68f84df4715bb596530b046
2024-06-05 21:21:16 -07:00
Solomon Jones 682c862351 Fingerprint for 2017 Subaru Forester (#32584)
Fingerprint for 2017 Forester
old-commit-hash: a418c9e40a273dc83efefb46a2ef5a034d9c92d3
2024-06-05 21:18:29 -07:00
Dean Lee 9706498c7a car/interfaces.py: optimize parse_gear_shifter() with predefined dictionary (#32592)
Optimize gear shifter parsing for improved performance
old-commit-hash: 91fd918fcbed4f5aa828d0ec59169c42d50cdcd0
2024-06-05 18:04:03 -07:00
Shane Smiskol 70230f5cef Restore lateral limits report (#32640)
* stash

* staaaaash

* clean up

* more clean up

* fix

fix

* fix

* stash

clean up

* more

* this is just simpler to understand

* explicitly check
old-commit-hash: 7cfd91bb69ce1a8ccc9c1f25907d33d14e8181d4
2024-06-05 18:03:23 -07:00
Riley Williams 28eb64e1fd 2024 IONIQ 6 (#32302)
* Tweak carspecs for 2023 (and now also 24) ioniq 6 to reflect public info instead of cloning ioniq 5 specs

* Regenerated car docs

* revert specs *for now*

---------

Co-authored-by: Riley Williams <riley@rileyww.dev>
Co-authored-by: Riley Williams <riley@rileyw.dev>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 7381872a544f48daa3b1f26cf88a61714083801b
2024-06-05 14:34:02 -07:00
Shane Smiskol da7e6d5b5b [bot] Fingerprints: add missing FW versions from new users (#32605)
Export fingerprints
old-commit-hash: bbc21b9f524a3790bb269ccbf4ff7e784992a82e
2024-06-04 22:09:54 -07:00
Shane Smiskol 1c49e5eb73 Honda: remove programmedFuelInjection ECU (#32626)
* set up for quick test

* remove pgfi

* Revert "set up for quick test"

This reverts commit aa6af2ff838b2cd203a6feaacaa5b4f3b71272ed.

* still query JIC
old-commit-hash: de61d417b92554f1e86bbc9a28e995e9bff650c6
2024-06-04 21:29:05 -07:00
Adeeb Shihadeh 2c6829ed67 boardd is pandad (#32628)
* boardd is pandad

* rename tests
old-commit-hash: 34e329649d7a388d4cd1f25dac9dda9d5409bf4a
2024-06-04 19:16:55 -07:00
Shane Smiskol edd2e43239 Honda: helpful non-essential ECU comment
old-commit-hash: e494d989601f295ed1dfbcbfacaf891f26a0408c
2024-06-04 16:37:01 -07:00
Shane Smiskol 65354c789e Hyundai: remove Ioniq EV 2020 CAN fingerprint (#32625)
* add from afc1609bb1584f28

* remove HYUNDAI_IONIQ_EV_2020 CAN fingerprint
old-commit-hash: ba9ea0a25f636d0a425b05e19b5fd1bc4cfee31a
2024-06-04 16:31:16 -07:00
Vivek Aithal cf8885b596 [torqued] Reduce friction for some Hyundai cars (#32578)
* reduce friction coeff for ev6 and ioniq6

* Update ref

---------

Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
old-commit-hash: 8a4bfcf5b4f4adc5cf9f0c91895d621421e994a2
2024-06-04 11:10:04 -07:00
Adeeb Shihadeh 86b6103657 test_*.py files are no longer executable (#32610)
* test_*.py files are no longer executable

* cleanup empty lines

* update precommit

* fixme

* enable

* build
old-commit-hash: c59887c8109dd8d33ea2e7169995184fbe38cc3a
2024-06-03 15:48:56 -07:00
Shane Smiskol 60ed5d6d40 [bot] Fingerprints: add missing FW versions from CAN fingerprinting cars (#32604)
Export fingerprints
old-commit-hash: 7c4b7ce799f7de15384231552c8fef1f9227292a
2024-06-03 14:11:51 -07:00
cl0cks4fe e77b75d9f0 cache get_torque_params (#32560)
* cache get_torque_params

* switch to cache

* Update selfdrive/car/interfaces.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 8f4b00c263e1942c6a6eed9d24297dff44e7f48f
2024-05-31 13:43:12 -07:00
Shane Smiskol ab16c708e9 add Hyundai CAN FD fingerprinting note
old-commit-hash: f887b8703cfdb764a5f16d624bd4ce8380054a23
2024-05-30 23:08:14 -07:00
Shane Smiskol b41b5cc067 fw_versions debug: match online vin retry
old-commit-hash: 0a43d82428d03662a3a439f7ec5ada7afc39b7a2
2024-05-30 22:20:04 -07:00
William Stairs c0ef111581 Add Chassis for VW Arteon Shooting Brake 2020-2023 (#32579)
* Added Arteon "3H" chassis code for Shooting Brake to VWCarDocs.

* Added new engine and transmission FW to Volkswagen fingerprints.py for Arteon Mk1.

* Apply suggestions from code review

* updates docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 984ad8833aedf20c5cad14996c5e5cafc95fe3fa
2024-05-30 21:35:19 -07:00
kacperhq e1ec898b41 KIA SPORTAGE 5th HEV 2022 EUR fingerprint (#32558)
Update fingerprints.py

KIA Sportage 5th GEN EUR ver
old-commit-hash: 325dcec06b5662b6b4c0f8903f0a7ea064fa4b7f
2024-05-28 15:27:08 -07:00
Shane Smiskol 47524c9393 [bot] Fingerprints: add missing FW versions from new users (#32552)
Export fingerprints
old-commit-hash: 521ee46c4704057365a6e08c4571a6eafd5d8dde
2024-05-27 22:01:31 -07:00
Shane Smiskol 51b5d472fb [bot] Fingerprints: add missing FW versions from new users (#32542)
Export fingerprints
old-commit-hash: 93963207f22e5724fb334ca495591ecc51529a82
2024-05-26 08:41:19 -07:00
Shane Smiskol d56052fcad [bot] Fingerprints: add missing FW versions from new users (#32533)
Export fingerprints
old-commit-hash: 95aa7c4b681c8ca0f23c7396e4d7a5840383c929
2024-05-25 09:42:23 -07:00
Shane Smiskol 1295d75c31 Kia: add 2022 Forte model year
The minimum enable speed is also 0 mph with a lead like the 2023, so it's likely supported with this harness

old-commit-hash: a7065d158b22a6a64ec914bad16546349c952206
2024-05-24 15:49:45 -07:00
Shane Smiskol 6b1d51e4df Kia: update Forte 2019-21 min enable speed (#32528)
* forte enable speed fix

* update docs
old-commit-hash: 937ff7f4187aff657d6e447c2f87b28c3d08bc3a
2024-05-24 15:48:26 -07:00
cipioh 049256c5e3 Added ecu firmware data for 2024 Kia EV6 GT (#32524)
* Update fingerprints.py

added KIA EV6 GT 2024

* Update fingerprints.py

added firmware from 2024 Kia EV6 GT

* format

* update my

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 652f15d54ee92c83e98b7bce2f0f82e241b14cd2
2024-05-24 13:39:42 -07:00
Shane Smiskol 0aae777597 Reapply "Ford: detect missing LKAS from EPS configuration (#31821)" (#32518)
* Reapply "Ford: detect missing LKAS from EPS configuration (#31821)"

This reverts commit 79247ab507d239c2e80bc0ecbf08e654af0c0c5b.

* catch

* now fix

* clean up
old-commit-hash: 7a6818da7edc888ab51f5631775af1eb452375c7
2024-05-22 17:27:22 -07:00
Shane Smiskol e534d9777c test car interfaces: catch more FW-related failures (#32514)
* only pick ecus from brand

* use superset of all requests

* much better

* clean up

* clean up

* try 150

* ?

* ???

* faster debug

* wtf

* no clue

* run push!

* this shouldn't catch it

* clean up

* rm
old-commit-hash: ef1b6b47032b862ca220e7c2ca6d9ccfd41d6957
2024-05-22 17:12:54 -07:00
Shane Smiskol 8499ca62ca [bot] Fingerprints: add missing FW versions from new users (#32511)
Export fingerprints
old-commit-hash: d96b8bbc01f8c18c38b52cb440f8d72f1d211398
2024-05-22 10:02:26 -07:00
Shane Smiskol e3af6d23de Revert "Ford: detect missing LKAS from EPS configuration (#31821)"
This reverts commit 0a46b076a3b8f52e9a7aa5cc87acf1e3d8b64a0e.

old-commit-hash: ffb34e558fe369bb5a5d6d7ff476c3b8e601f6db
2024-05-21 23:21:31 -07:00
Shane Smiskol 912ae13307 card: only exit ELM once done with ECU knock outs (#32505)
* only exit elm once done with knock outs

* comments!
old-commit-hash: 9fa92c222513731a19009781ce463bb9e69158db
2024-05-21 21:23:14 -07:00
roberttruong 19f3c88368 Additional Subaru Impreza 2022 Fingerprint (#31916)
* Update fingerprints.py

Add fingerprint for Subaru Impreza 2022 Australia

* auto_fingerprint

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: b059f2eda807aca543b7e33031d52fc5a45be31f
2024-05-21 20:31:47 -07:00
Marcin Perlikowski fb3429c2ce Hyundai: add fingerprint for 2020 IONIQ PHEV (#31301)
add fingerprint for 2020 Hyundai IONIQ PHEV

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5e63906a3f4ef4eb01c99f23592aa87f2cc419a9
2024-05-21 20:24:45 -07:00