Commit Graph

3619 Commits

Author SHA1 Message Date
Shane Smiskol 799fabd707 Reapply "update to new opendbc API (#32009)" (#33151)
This reverts commit f2f01e3afaeaa267af61c8d7ab918da04d3411f2.
old-commit-hash: 7c112341c358b57ee9d0209cb2b2c53383adcca9
2024-07-31 15:37:39 -07:00
Shane Smiskol 0ea25665bb get_fw_versions: test the full stack (#33156)
* add the test

fix

* bump

* not sure why mypy didn't catch this
old-commit-hash: ebff7cab1ab897526800e229e30b01ec4cf1114c
2024-07-31 14:53:13 -07:00
Shane Smiskol 2c11e7b49a Revert "update to new opendbc API (#32009)"
This reverts commit d21755b2e216c3f547db0b55b7088357c4368801.

old-commit-hash: ac130001cc83734118524f59a83a96a2065dd56e
2024-07-31 02:38:44 -07:00
Dean Lee 2f1ee6e832 update to new opendbc API (#32009)
* use new opendbc api

* export pandad_python

* merge master

* merge master

* bump opendbc

* bump opendbc

* improve func

* keep interface unchanged

* fix test_car_interfaces

* bump opendbc

* bump opendbc

* fix test_models

* the interface now has to convert from can capnp to list, so we should include this time

* goes from ~210 to ~240 mean ms real time

* remoe busTime

* lowercase sendcan

* consistent msgtype

* bump

* bump

* not used in lat_mpc

* space

* bump to master

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 0dddc97dca8bf4e023b29c35cb92fd3dd0a9a3a2
2024-07-31 00:24:46 -07:00
Shane Smiskol b4b3ae5da8 CarController: call to super's init (#33148)
* this should be common

* super!

* bump

* and frame is common

* bump
old-commit-hash: 1b6ac2d876fe3170968944722df67ee815d8cb1b
2024-07-30 23:55:23 -07:00
Shane Smiskol 5cc7d1c36b deprecate busTime (#33146)
* deprecate busTime

* bump

* do car can + more

* forgot some

* bump opendbc

* fix that too

* bump
old-commit-hash: 42f2601416bcb53c25e24b899131e66ee00177b8
2024-07-30 21:26:58 -07:00
Shane Smiskol 7b724ed243 tester present msgs: use helper (#33147)
use helper
old-commit-hash: b6d124d268ec705585e49d4ba84a316810e3b2b8
2024-07-30 18:09:22 -07:00
Shane Smiskol 5e0168a7f0 Ford: add long controls todo
old-commit-hash: 661ef03a24171addba79b69bb14867425f5a9474
2024-07-30 15:18:26 -07:00
Shane Smiskol 2cb381997f cars: remove some external imports (#33133)
* ford and gm

* clean that up

* also this

* honda

* temp fix

* move into selfdrive.car

* clean up

* more
old-commit-hash: 0739d79a512965abbe22f0b15c7fddcdd71478d0
2024-07-30 14:27:27 -07:00
Shane Smiskol 3e39d610bc [bot] Fingerprints: add missing FW versions from new users (#33123)
Export fingerprints
old-commit-hash: 606890cba5ca8c65391abebba505fc211ca1e6b4
2024-07-29 12:32:51 -07:00
eivegau 805f2ff3bf Kia: add missing Optima EUR FW versions (#33027)
* Update fingerprints.py

* Apply suggestions from code review

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: cd8a603ad0f14d744d12e2f5f743c7880ce907a3
2024-07-25 13:47:43 -07:00
Shane Smiskol fd0fc08f8a [bot] Fingerprints: add missing FW versions from new users (#33039)
Export fingerprints
old-commit-hash: bd00a9d800c1cf308feb2bf85f7fde11d6f0ff7b
2024-07-22 13:36:53 -07:00
Shane Smiskol 30848f76d7 [bot] Fingerprints: add missing FW versions from new users (#33038)
Export fingerprints
old-commit-hash: 8d77cea3a509ac80c18ecdd705a9f01754d1cb2c
2024-07-22 13:05:57 -07:00
Shane Smiskol 927bde4936 [bot] Fingerprints: add missing FW versions from new users (#32996)
Export fingerprints
old-commit-hash: aa8484093e886cd8ae90e4eb42118306794fc439
2024-07-15 14:40:24 -07:00
Dean Lee 34e307fd94 selfdrive/car/ecu_addrs: prefix internal functions with underscore (#32980)
underscore prefix
old-commit-hash: c0739cd9ee41ccd372bd8cd816c44dfce4e3a8a2
2024-07-15 12:05:20 -07:00
Shane Smiskol e8c4fb0177 Reapply "selfdrive/car: ban imports from external modules" (#32993) (#32994)
* Reapply "selfdrive/car: ban imports from external modules" (#32993)

This reverts commit 626d78ec548fe19acfdf3c2c3e063fac3b257dc6.

* controls will just use controls

* also these

* ignore
old-commit-hash: d684d8f0f6900d80a2a1618099b0b8e19e6492a2
2024-07-15 11:59:25 -07:00
Shane Smiskol a878118b00 Revert "selfdrive/car: ban imports from external modules" (#32993)
Revert "selfdrive/car: ban imports from external modules (#32973)"

This reverts commit c1e8ff2dbc47ccb07fb41a4e88bfb66af2669254.
old-commit-hash: 35a4a773f1ff6c7b171b7acdb2fd4a65279edebd
2024-07-15 11:14:04 -07:00
Dean Lee 58df39a2ba selfdrive/car: ban imports from external modules (#32973)
* lint import

* Update selfdrive/car/__init__.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 83d4623590f87dcb7df2b458a8814d5ad6ea711b
2024-07-15 11:12:24 -07:00
JaReal07 0a85819340 Update fingerprints.py Corolla 2024 (South America) (#32864)
Add Corolla Sedan 2024 (South America), new 'engine' and 'eps' fwversion
old-commit-hash: 4014109666e66ca8ed0b096159d424b4b55caca4
2024-07-08 14:58:22 -07:00
dany7915 2246f087cd Fingerprint: Kia K5 HEV 2020 (#32875)
fingerprint added
old-commit-hash: 67038d5b59d82b1eb094746ab99fa7d8e7d10e71
2024-07-08 14:54:11 -07:00
Shane Smiskol 14a31b177b Chrysler Pacifica Hybrid: combine 2017 and 2018 (#32937)
* Chrysler Pacifica: combine 2017 and 2018 hybrids

torque params are not accurate for either (might be ~1.5 for both checking a few dongles)

* remove duplicate fingerprints

* combine docs lines

fix
old-commit-hash: 31ff8eda9cedb54aa32df8ebf5dc729addf82ef2
2024-07-08 14:45:01 -07:00
Shane Smiskol 4ac21d6460 [bot] Fingerprints: add missing FW versions from new users (#32936)
Export fingerprints
old-commit-hash: fa2f7a4dd43df834393b95f32c5282a85e39278e
2024-07-08 14:16:44 -07:00
Shane Smiskol 9276958347 [bot] Fingerprints: add missing FW versions from CAN fingerprinting cars (#32932)
Export fingerprints
old-commit-hash: 4a696984f12358b8cde3b32e932704fbd0f3b811
2024-07-08 10:58:08 -07:00
Shane Smiskol 8e3b18c3a0 Ford: use more reliable gear message (#32886)
* todo

* nope

* not this one

* yep

* passes

* clean up

* not used!

* oop

* update refs
old-commit-hash: 7de2aac3c93caa20213894e574f06bd45f789335
2024-07-02 22:22:56 -07:00
Shane Smiskol 3953eba4ac controlsd: no mutable carParams (#32381)
* no as builder

* fix car int test

* more
old-commit-hash: c95b58401afe475b07634041e71ede63b9f3875f
2024-07-02 13:27:45 -07:00
Shane Smiskol f26f9d7982 [bot] Fingerprints: add missing FW versions from new users (#32883)
Export fingerprints
old-commit-hash: 25b9a338529858cab0e5adf47c62afe2be2fd695
2024-07-01 11:38:35 -07:00
Shane Smiskol 4d7567c3b0 Hyundai: remove CAN fingerprints (#32856)
* expand date range for KIA_NIRO_EV

9004767ba8fe7321/2024-06-05--04-30-48

* remove and format
old-commit-hash: 2d3c6cbe04775ddbb337826e35f9ce64f2cd7716
2024-06-27 19:44:55 -07:00
Shane Smiskol ba39a8b301 [bot] Fingerprints: add missing FW versions from new users (#32855)
Export fingerprints
old-commit-hash: d0423dcab214e644ce4dc4102c29d6e1de9ef1d8
2024-06-27 17:56:09 -07:00
Shane Smiskol d94198652d Increase test_car_interfaces examples (#32852)
* to 100!

* Update selfdrive/car/tests/test_car_interfaces.py
old-commit-hash: 4a70934625321a822ee2b98396b45311603cb9fc
2024-06-27 15:35:21 -07:00
Shane Smiskol 33daa31301 GM torque control: robust sig function (#32847)
tricky
old-commit-hash: b7695c00e87819dd6aac49cfec78e438dfc15d16
2024-06-26 21:27:10 -07:00
Jason Wen cdba2da831 Hyundai: Add FW Versions for EU Ioniq 5 2023 (#32833)
old-commit-hash: 84725738c8fd429263474da424e96134bdeef367
2024-06-26 18:13:55 -07:00
Shane Smiskol 33f0acb332 Genesis GV70: add "without HDA II" to docs (#32835)
* without!

* comment
old-commit-hash: 9a27512c821f3d00ab63b5e857b8051186ee193e
2024-06-25 17:19:24 -07:00
Jason Wen ecb9dfecff Hyundai CAN: Log ABS/ESP Activation to espActive (#32743)
* Hyundai CAN: Log active ABS to accFaulted

* Add comments

* `espActive` to CarState and CarEvent.EventName

* re-order

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 36eafc0dc6ea73bcc59df216a3231ae54960a282
2024-06-24 20:14:57 -07:00
Shane Smiskol 68b7d68664 [bot] Fingerprints: add missing FW versions from new users (#32825)
* Export fingerprints

* sedan should work too
old-commit-hash: 76f7b2793d5a32eb4577a2fc579a56ce41209738
2024-06-24 16:12:48 -07:00
Shane Smiskol 9328302b4d [bot] Fingerprints: add missing FW versions from new users (#32823)
Export fingerprints
old-commit-hash: 36d5bb7ecc8288dfb52f624b7d4ba3070d0ae683
2024-06-24 15:42:30 -07:00
Shane Smiskol ae06013692 [bot] Fingerprints: add missing FW versions from new users (#32803)
Export fingerprints
old-commit-hash: 8550a57eaf2aa898cbe823f552f5e0f27927c674
2024-06-21 21:11:52 -07:00
Shane Smiskol 12ec220949 Toyota: add another blacklisted FW character
old-commit-hash: 40aa3a03373bff8cf78e220d06a0c92fcfbe44bf
2024-06-20 16:04:29 -07:00
Jason Young 758a9f3ef4 VW: Rename harnesses (#32779)
old-commit-hash: a89201219d19c544c8b12f8124fdceaadd6b3dca
2024-06-19 15:17:25 -07:00
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