Commit Graph

13267 Commits

Author SHA1 Message Date
Maxime Desroches
9233bc4965 Bump pyopencl and disable on arm64 (#32695)
bump pyopencl
old-commit-hash: 84dd8ad4a3c0542505f19f73cf95ebae7938b412
2024-06-10 19:26:48 -07:00
Adeeb Shihadeh
9bacbb05c1 always on DM isn't in 0.9.7
old-commit-hash: efd744e03e53c0069796c9ba65bfe1eb2c532b35
2024-06-10 19:16:50 -07:00
schlimeszn
afea57ae2a Custom setproctitle (#32667)
* add custom setproctitle

* add test

* Update poetry.lock

* fix lint

* support only Linux

* test only Linux

* final lint

* Update test_setproctitle.py

* Update setproctitle.py

* convert to threadnames

* delete proctitles

* Check str len and use PR_GET_NAME

* fix poetry.lock

* lint fix

* Update common/threadname.py

---------

Co-authored-by: reddyn12 <nikhilr.ssm@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3365ed5effa48d34ffe0e2e9bbe9f6941336bed5
2024-06-10 18:59:01 -07:00
Adeeb Shihadeh
50dd024081 pandad/SPI: ensure slave is in a consistent state (#32645)
* maxout

* get ready for the next one

* really get ready

* much better

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f8cb04e4a8b032b72a909f68b808a50936184bee
2024-06-10 18:04:24 -07:00
commaci-public
0ee93c6a90 [bot] Update Python packages and pre-commit hooks (#32682)
* Update Python packages and pre-commit hooks

* fix linter

* poetry lock

---------

Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 71063d66cd526bf1e498618e1aec3440736ab5b7
2024-06-10 17:19:01 -07:00
Hoang Bui
c34f76bc1a tools/rerun: correct reset to defined default blueprint (#32692)
old-commit-hash: 1e3d62c88a9805de6799f742ca4998b36b5e51e8
2024-06-10 16:58:51 -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
Maxime Desroches
49c036919f Pin pytools (#32684)
* bump opencl

* pin pytools
old-commit-hash: 1f7c5bcd50ae64281ea9cb1de48131b59efdeb1f
2024-06-10 23:06:37 +00: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
Kacper Rączy
7acd2e6159 webrtc: fix patch in tests (#32686)
* Fix patch

* Fix it again
old-commit-hash: 2b1ac1ffa145543ac62075479123d71806bd3f62
2024-06-10 14:22:47 -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
Dean Lee
061deaa80f common/ratekeeper: change frame() return type from double to uint64_t (#32679)
old-commit-hash: a4f0f6ca3627c9a8a805ec3f20c17d68a710b7f8
2024-06-10 13:37:50 -07:00
commaci-public
d2e3a0ea41 [bot] Bump submodules (#32681)
bump submodules

Co-authored-by: Vehicle Researcher <user@comma.ai>
old-commit-hash: a09ccd59cba03ac0824ad1b900116c364f93d591
2024-06-10 13:37:39 -07:00
Harald Schäfer
7e4edcc8d5 MSGQ refactor: cleanup outstanding issues (#32685)
* Rm sim dockerfile from bad merge

* Add watch back

* Fix watch3 compilation
old-commit-hash: 1b2bd205b81bb473bbe176b58250fe038963d1f6
2024-06-10 13:18:47 -07:00
Shane Smiskol
196aaf01d6 fix hypothesis warning (#32678)
fix
old-commit-hash: 43ebf367ef37d949952301f2e240359b451a7043
2024-06-10 00:28:43 -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
Harald Schäfer
05ed3d8c15 Restructure msgq (#32652)
* Update ref

* Compiles

* compiles

* Refactor rest of libs

* import all

* small fiex

* cleanup import

* Need msgq simlink too

* Add to openpilot docker too

* try repo

* Updates

* Fix lint

* fix docs

* Try blank slate

* Revert "Try blank slate"

This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d.

* Maybe scons needs this to clear cache

* fix tests

* Disable test for now

* Update SConstruct

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Fix whitespace

* Write skip normal

* small fixes

* add test path

* Revert repo

* linting

* whitespace

* Bump msgq

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e70dc90a452e7c045d9a207f3680d846406ef789
2024-06-09 17:44:34 -07:00
Harald Schäfer
eb2e5e335d Sim: don't need nvidia docker anymore (#32676)
Dont need nvidia docker anymore
old-commit-hash: b573a4cc48e4508a37f01a800b09b1fa8895d367
2024-06-09 14:49:20 -07:00
Adeeb Shihadeh
189679e6e9 CI: move build_release to a namespace runner (#32675)
old-commit-hash: 43a97c590723f61cf049cd95f2edd9aea8f2c346
2024-06-09 12:02:55 -07:00
Adeeb Shihadeh
a4745aa158 tici: improve power save test (#32674)
* tici: improve power save test

* Update system/hardware/tici/tests/test_hardware.py
old-commit-hash: da1cb2276bf28ee906e61a717da2e2699bdba34d
2024-06-09 11:51:43 -07:00
Adeeb Shihadeh
8c82ecbe3d bump version to 0.9.8
old-commit-hash: 2cfb4df82c973fd93bc6750227e5628f1eb9bf2d
2024-06-09 11:18:47 -07:00
Dean Lee
40de8d615f replay: add stop() function (#32673)
add stop() func
old-commit-hash: 3f84fe3557099ba74895241e8f4059b1001cd6ec
2024-06-09 11:04:21 -07:00
Dean Lee
8bdeb04e72 cabana: fix potential dangling pointer Issue (#32672)
Fix Potential Dangling Pointer Issue
old-commit-hash: 6688d7b91c2ee6fad93d292edc0661a4522e9b10
2024-06-09 11:04:10 -07:00
Adeeb Shihadeh
2e6ca5dd05 debug: add summary to check_timings
old-commit-hash: 20a44bb4e9e36e525e0caa6694c6cb863a23b538
2024-06-08 21:01:39 -07:00
Adeeb Shihadeh
8da4e94289 pandad: fix receive buffer size on failed transfer (#32670)
old-commit-hash: 1093a4ac8217030ae4a0c73ba54bc734a6010acc
2024-06-08 20:43:25 -07:00
Adeeb Shihadeh
a05ec1f4de python dependency notes (#32668)
old-commit-hash: 284512b2cae581e004fb56291fb8c2eb7c737bf6
2024-06-08 16:29:41 -07:00
Nelson Chen
eaeff91d2a Update BOUNTIES.md re. Toyota SecOC and community bounty. (#32661)
old-commit-hash: 5e1c54a887e28edc555369df89d5082850237834
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: 5265d13fe087972311592febd4071c16cece65e0
2024-06-08 15:39:26 -07:00
Adeeb Shihadeh
8472df65ea tools/sim: remove special docker image (#32659)
old-commit-hash: 541b5cbf1387df07e76da55d3e332170d9e756f0
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: 3b6862030a550b92e8ecc5a51de61811ad12d6b9
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: 57f21abb4fe3ae81842adc07fb79a1d2c056fee0
2024-06-07 23:58:14 -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
ad42b61427 test_encoder: adjust file size tolerance
old-commit-hash: b51472048ce5b37f4069ad14a60fc911e47b724e
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: 451e171ad9bef27d87f4124dbf032881d3ccc485
2024-06-07 21:24:32 -07:00
Shane Smiskol
492c329910 bump opendbc (#32651)
* bump

* bump2

* bump3
old-commit-hash: 9ce380d3ce515f7065e27df3e7b155164bcdb56a
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: b42b156fcd8d98adee9e6b5384558cfabd4f2165
2024-06-07 17:03:17 -07:00
Adeeb Shihadeh
9f4b55e32f build_release: run tests with pytest
old-commit-hash: 2bad3c29d99ed6f037e40489f450d72e1e28dd27
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: 5c3c06dfdf087c74214a6cfc350cbcc02346b41e
2024-06-07 15:26:55 -07:00
Harald Schäfer
d7dae4db72 More cereal cleanups (#32644)
* rm generate_javascript.sh

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

old-commit-hash: 280a284b760c2a0519ffedcdb7228be23c90edf9
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: 83209e0860f61aa383fbe1cc569ace996edcd13d
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: e71ec4e8d7e39a56235f590227e7cb361cd8b79d
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: 4c549778c0b0bd4430f2ec18023c40d3a6252a1a
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: e8857a6713db6b8b3b8cd67aca1b8c046a4dccd9
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: 983063c3e6ce344b8569814fcdc2eafc2830c4e9
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: 3a43f5d7844611cd5c770748b7d235974c3eb97d
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: ae375091dbc86aaca7a1bf2d9e7e3e9281a33495
2024-06-05 23:44:19 -07:00