Commit Graph

13240 Commits

Author SHA1 Message Date
Nelson Chen
eaeff91d2a Update BOUNTIES.md re. Toyota SecOC and community bounty. (#32661)
old-commit-hash: 5e1c54a887
2024-06-08 16:10:58 -07:00
Adeeb Shihadeh
92ad30cbd6 Replace markdown-it-py with small function in common/ (#32664)
* Replace markdown-it-py with small function in common/

* simple test

* unused

* lock

* linting fixes
old-commit-hash: 5265d13fe0
2024-06-08 15:39:26 -07:00
Adeeb Shihadeh
8472df65ea tools/sim: remove special docker image (#32659)
old-commit-hash: 541b5cbf13
2024-06-08 09:18:28 -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:

28454c04cc

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: 3b6862030a
2024-06-08 09:18:00 -07:00
Adeeb Shihadeh
ae8f9da48d pandad: fix loopback test (#32656)
* pandad: fix loopback test

* clear all params

* try this

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 57f21abb4f
2024-06-07 23:58:14 -07:00
Shane Smiskol
945c6b94fa remove old fingerprints test (#32654)
* is this even used?

* remove
old-commit-hash: 90523b3b00
2024-06-07 23:38:51 -07:00
Adeeb Shihadeh
ad42b61427 test_encoder: adjust file size tolerance
old-commit-hash: b51472048c
2024-06-07 23:09:41 -07:00
Shane Smiskol
2d4f0e2af8 remove old cache wrapper (#32653)
* remove wrapper that is functools.cache

* format
old-commit-hash: 451e171ad9
2024-06-07 21:24:32 -07:00
Shane Smiskol
492c329910 bump opendbc (#32651)
* bump

* bump2

* bump3
old-commit-hash: 9ce380d3ce
2024-06-07 21:12:10 -07:00
Adeeb Shihadeh
97bfed714c card: remove old canRcvtimeout field (#32650)
* card: remove old canRcvtimeout field

* deprecate
old-commit-hash: b42b156fcd
2024-06-07 17:03:17 -07:00
Adeeb Shihadeh
9f4b55e32f build_release: run tests with pytest
old-commit-hash: 2bad3c29d9
2024-06-07 15:46:32 -07:00
Adeeb Shihadeh
dc9e0a3b39 blacklist more files from release (#32616)
* blacklist more files from release

* dbcs

* fix

* just use the lfs

* rm that too

* cleanup

* cleanup
old-commit-hash: 5c3c06dfdf
2024-06-07 15:26:55 -07:00
Harald Schäfer
d7dae4db72 More cereal cleanups (#32644)
* rm generate_javascript.sh

* Unused
old-commit-hash: e6caaf40fb
2024-06-06 23:35:13 -07:00
Adeeb Shihadeh
7f93faea69 update msgq repo url (#32647)
old-commit-hash: ccd26de097
2024-06-06 21:12:21 -07:00
Adeeb Shihadeh
ba34590567 controlsd: remove last mention of CAN (#32646)
old-commit-hash: a7ed190df4
2024-06-06 16:46:27 -07:00
Shane Smiskol
2532cab5d1 update TOTAL_SCONS_NODES
from 8c15c5b0d6

old-commit-hash: 280a284b76
2024-06-06 16:24:09 -07:00
Harald Schäfer
9fcd3fe73b Msgq cleanups (#32643)
* Dead cereal stuff

* Dead code

* also dead

* More cleanup
old-commit-hash: 83209e0860
2024-06-06 15:03:19 -07:00
Harald Schäfer
f870a968e9 Split cereal into cereal/msgq (#32631)
* squash

* fix doc

* compile device

* compile device

* Update ref

* add msgq to precommit exclusions

* No service ports

* fix compile

* address comments

* More comments

* Delete logger

* Update opendbc

* Linting

* bump msgq
old-commit-hash: e71ec4e8d7
2024-06-06 14:31:56 -07:00
Hoang Bui
254d51ac8d CI/tools_test: remove redundant git lfs pull (#32642)
remove redundant
old-commit-hash: 4c549778c0
2024-06-06 12:59:57 -07:00
Vivek Aithal
dec353a9de [Lag] Increase Optima Lag (#32583)
increase lag in optima to 0.2
old-commit-hash: e8857a6713
2024-06-06 01:14:28 -07:00
Dean Lee
eb6e134869 events.py: rename event counters (#32596)
* improve prev event counters

* just rename

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 983063c3e6
2024-06-06 00:13:57 -07:00
Dean Lee
6f9e28d8f2 fuzzy_generation.py: improve performance (#32591)
* improve performance

* remove DEPRECATED

* formatting

* catch kjException

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3a43f5d784
2024-06-05 23:48:20 -07:00
Shane Smiskol
9778515344 Genesis G70 2020: use common specs (#32641)
use non-2020 specs
old-commit-hash: ae375091db
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: 045b9f20b7
2024-06-05 21:21:16 -07:00
Solomon Jones
682c862351 Fingerprint for 2017 Subaru Forester (#32584)
Fingerprint for 2017 Forester
old-commit-hash: a418c9e40a
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: 91fd918fcb
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: 7cfd91bb69
2024-06-05 18:03:23 -07:00
Adeeb Shihadeh
bc76ae701b fix linter
old-commit-hash: 260e18f0ae
2024-06-05 17:32:47 -07:00
Adeeb Shihadeh
d2948c3fcd pandad: add more context to spi logs (#32639)
* pandad: add more context to spi logs

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e828a7bdcf
2024-06-05 17:27:57 -07:00
Adeeb Shihadeh
30c41788dc thermald is hardwared (#32637)
* thermald is deviced

* hardwared

* rename
old-commit-hash: 51fdf23304
2024-06-05 15:58:00 -07:00
Adeeb Shihadeh
ca0bc15d6b pandad: add jungle spam mode to test (#32636)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a46f1c6eba
2024-06-05 15:23:25 -07:00
Adeeb Shihadeh
389daf4018 pandad: move to core 3 (#32402)
* move to core 3

* core is fully offlined now

* move to init

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7b09285817
2024-06-05 14:50:25 -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: 7381872a54
2024-06-05 14:34:02 -07:00
Adeeb Shihadeh
22bfc435a9 jenkins: fix unsafe checkout when changing submodules (#32635)
do it twice
old-commit-hash: 9526334049
2024-06-05 14:00:55 -07:00
Adeeb Shihadeh
608096b5bf Update RELEASES.md
old-commit-hash: 449d70333c
2024-06-05 13:22:19 -07:00
Yassine
3b31328513 0.9.7 model release notes
old-commit-hash: 59a3097242
2024-06-05 11:42:22 -07:00
Dean Lee
958bdeda8a cabana: stop stream thread before exiting main event loop (#32634)
stop stream thread before exiting main event loop
old-commit-hash: 1d61f320a8
2024-06-05 08:49:58 -07:00
Shane Smiskol
da7e6d5b5b [bot] Fingerprints: add missing FW versions from new users (#32605)
Export fingerprints
old-commit-hash: bbc21b9f52
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: de61d417b9
2024-06-04 21:29:05 -07:00
Adeeb Shihadeh
0ace8d0e7f pandad: reset CAN comms on checksum failure (#32629)
old-commit-hash: 877b810ac9
2024-06-04 21:26:16 -07:00
Adeeb Shihadeh
2c6829ed67 boardd is pandad (#32628)
* boardd is pandad

* rename tests
old-commit-hash: 34e329649d
2024-06-04 19:16:55 -07:00
Shane Smiskol
7460a7befc Hyundai CAN FD: fix spotty FW query without comma power (#32627)
bump
old-commit-hash: a3d2d7892f
2024-06-04 18:22:23 -07:00
Dean Lee
4acd5f4293 LongControl: storing T_IDXS[:CONTROL_N] in a variable for reuse (#32599)
Improve Control Trajectory Interpolation Efficiency
old-commit-hash: 23fcd68707
2024-06-04 17:04:50 -07:00
Shane Smiskol
edd2e43239 Honda: helpful non-essential ECU comment
old-commit-hash: e494d98960
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: ba9ea0a25f
2024-06-04 16:31:16 -07:00
Adeeb Shihadeh
43dd214f52 Revert "pytest: discover openpilot/ (#32561)" (#32622)
This reverts commit 9c272f9ef90b7c032884aa0ad54b8d5630de14fc.
old-commit-hash: 149238845c
2024-06-04 12:09:06 -07:00
Dean Lee
6e4c3ddb40 modeld: cleanup commonmodel (#32618)
cleanup
old-commit-hash: 2482ed085e
2024-06-04 11:20:17 -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: 8a4bfcf5b4
2024-06-04 11:10:04 -07:00
Dean Lee
2be5c0e970 ui/cameraview: fix deadlock on exit due to Qt::BlockingQueuedConnection (#32620)
fix deadlock
old-commit-hash: 25e15846f1
2024-06-04 10:25:46 -07:00
Shane Smiskol
19d9e7ac6b revert marking some files as unexecutable (#32613)
* this is not a test

* these are not tests!
old-commit-hash: c7b3ece37e
2024-06-03 17:19:27 -07:00