Commit Graph

11864 Commits

Author SHA1 Message Date
Shane Smiskol
0c194949ea Fingerprints: add missing FW versions from users (#30833)
Export fingerprints from Fingerprint stage
old-commit-hash: 5e6290c4a24e31428b1c1d3d4580128b77e3efeb
2023-12-21 03:55:15 -08:00
Shane Smiskol
83ee5fa80d format fingerprints: simplify sorting (#30826)
* unique + sort + don't modify FW_VERSIONS

* clean up

* not here

* self expl
old-commit-hash: b38c580c2e687401fc819520ea038653873e9996
2023-12-20 15:51:56 -08:00
Justin Newberry
ceec7907cc Pytest: exclude teleoprtc (#30829)
exclude
old-commit-hash: cfc85f016b401017ce6003a9a36760418945f0b2
2023-12-20 15:22:48 -08:00
Justin Newberry
c3551ea4ec Simulator: fix keyboard ctrl messing with pytest (#30827)
fix
old-commit-hash: a6b17fb1f6063835f6e0065d9bf670fbf069de48
2023-12-20 15:10:11 -08:00
Justin Newberry
82ff204bdd Docs: fix old docs still being populated (#30825)
* fix push

* also remove cached files

* fix readme

* add readme

* remove that wip submodule
old-commit-hash: abe4780fdb179ef29fc503894dcb382396aaff07
2023-12-20 13:56:34 -08:00
Justin Newberry
723c346fc5 Docs: fix push and running locally (#30823)
fix push
old-commit-hash: 33e7baee401d8a8a2dd4210e6f1712c05ff200d4
2023-12-20 13:27:27 -08:00
Justin Newberry
3b65f2075e format_fingerprints: automatically sort fw fingerprints (#30819)
* Auto sort fingerprints

* add comment
old-commit-hash: 3d8c78d6b3a74196b09576f97ac02b4baa67dfe0
2023-12-20 11:54:31 -08:00
Justin Newberry
bf8e8f8338 test_models: fallback to public route when route isn't uploaded to CI bucket (#30794)
* wip

* add public comment

* fix that

* wip

* retrigger
old-commit-hash: 05dc0b51e6597fb83aed14f5a390fa4254751c98
2023-12-20 11:29:19 -08:00
Justin Newberry
611e3fe8e7 add script to automatically format fingerprints file (#30792)
* Add script

* fix script

* fix script

* fix for subaddr

* run the script

* old style can fingerprints

* cleanup

* sort imports, make executable, fix path

* newline w/o newline

* match og can formatting

* match og formatting

* generate template once

* standard name

* less nested

* can fingerprints comments

* fix spacing

* no need for PLATFORM_TO_ENUM_NAME!

* prep for PRs

* comments for all, add honda comments

* Auto-generated fingerprint PR from fuzzy fingerprinting cars

* Revert "Auto-generated fingerprint PR from fuzzy fingerprinting cars"

This reverts commit 97bc9e3bdb9d819dcbe684ceba92ea702d40eaf0.

* even closer to original

* readd this comment

* and run script

* add to precommit

* add comments

* add comments

* add to release

* use for auto fingerprint

* disable precommit for now

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3713e4d5eaed783738ea8ecdbd3b7e6abaa974c0
2023-12-20 11:18:29 -08:00
Shane Smiskol
a918ee9b72 fingerprints: fix formatting (#30814)
formatting
old-commit-hash: adb04b5dc52a8063bf16a91a159fdbb82c83d514
2023-12-19 23:47:34 -08:00
Shane Smiskol
e9e408118b interfaces: fix get_interface_attr typing (#30813)
* fix

* Update selfdrive/car/interfaces.py
old-commit-hash: 1a165c658035233b4fca774d886c7ecb97a43364
2023-12-19 23:35:31 -08:00
Shane Smiskol
b7811099e4 fix bad CAN fingerprint type (#30809)
fix bad wrong type
old-commit-hash: 426072bd8717753afec89c4291f329bdedbc31b8
2023-12-19 20:30:42 -08:00
Dean Lee
8056fe5aff cabana: add csv export (#30800)
export csv
old-commit-hash: 5f045176775c8c2cdd7f85e7229f78cf26f0c013
2023-12-19 11:50:16 -08:00
Justin Newberry
a3eafc8cd5 Simulator: only send camera frames at rate that they are generated (#30802)
only send frames at rate that they are generated
old-commit-hash: 8017c25f0b2960db13df22295c077fbbd6aa6a07
2023-12-19 10:45:07 -08:00
Dean Lee
babf868ddd refactor swaglog (#30795)
old-commit-hash: 3646ca0a14b9ed80bd0ba0ba3b74ee6f7df6d56a
2023-12-19 10:36:35 -08:00
Justin Newberry
1314156365 cleanup fingerprinting typing (#30801)
* wip

* undo + add can fingerprints

* add can fingerpints

* those should go there
old-commit-hash: adca970ca9dc574f740e8523536bf8d4b0d7bfa8
2023-12-19 09:41:09 -08:00
Shane Smiskol
f65ccca8e0 test_models: fuzz test panda and CarState (#30443)
* pre-hypothesis

* some hypothesis junk

* this kinda works but is really slow due to counter check

* choose addrs from fingerprint

* stash

* honda nidec brake pressed mismatches fixed

* bump panda

* stash

* tesla: use DI_torque2 (panda msg)

* run

* run

* ah this honda mismatch too

* no more multi can msgs

* clean up, remove old file

* add todo

* prob can remove urandom

* stash, huge examples

* fix pq standstill mismatch

* yuge

* yup there's a leak somewhere

* try to find leak

* skip dashcam (pq and tesla)

* PR comments

* bump

* draft stash

* fix alt brake hondas

* bump

* bump

* bump

* some clean up

* minor clean up

* more clean up

* stash

* fix honda bug

* more

* 100 examples

* revert tesla

* no memory leak any more?

* bring back tests with skips

* parameterize max_examples

* skip interceptor

* is jenkins on my branch?

* ooh that's fast

* 50 is not bad for GH CI

* 300 might be better with rest of test_models

* no more detection

* bump

* need CS_prev to catch bugs where openpilot changes and panda doesn't (eg. not setting interceptor safety mode)

* need to simplify all this

* need a warm up first, since some signals are 1 by default (toyota's gas_released!=1)

* changes

* set honda safety param

* set toyota safety param

* bump panda

* clean up honda

* rm interceptor

* thought interleaving addrs might help, but we can fine tune later

* Revert "thought interleaving addrs might help, but we can fine tune later"

This reverts commit 153301384b48c9f33f9e2af3c224241eaeec41c1.

* get size from dict

* what

* add nocapture marker

* clean up

* try to raise logging level

* need to run last as pytest_runtest_call, since it starts capturing

* get capman conditionally

* mark

* type fingerprint

* should use gen_empty_fingerprint

* no longer needed

* draft

* no longer need gc

* clean that up

* test everything!

* more clean up

* more

* no point

* fix that

* fix errors

* bump

* nice even 300 examples for 300 segs

* final bump :fingers_crossed:

* better import order

* remove debugging prints

* warm up kinda works

* Revert "warm up kinda works"

This reverts commit 7fc77b07d592edb13eadca77deb49540954a7d69.

* random seed

* revert

* strat

strat

* add expl comment

* cmt

* check controls allowed

* Revert "check controls allowed"

This reverts commit e82a0e5396810dd4670e6847aa555194a709e10f.

* not unittests

* run tests!

* run tests 2!

* run tests 3!

* seed unused

* revert

* add shrink phase, and remove health check suppression

* hello

* oncemore

* Update selfdrive/car/tests/test_models.py
old-commit-hash: 5052b55c440f3a778f9db9c854fa385077dd7ab9
2023-12-19 03:18:54 -06:00
Justin Newberry
1974bade17 Add GH project to bounties.md (#30791)
* update bounties

* just replace the link
old-commit-hash: 10b3a22897aa63f23b7cfb90691a8594e574cf6a
2023-12-18 17:12:21 -08:00
Adeeb Shihadeh
21d2b59238 Update README.md (#30793)
* Update README.md

* Update README.md

* Update README.md
old-commit-hash: cee84381f31f1f71b83df989a1b4b9e4592e4b6c
2023-12-18 17:05:24 -08:00
Adeeb Shihadeh
9ae1b6473c run test_fuzzy.py with pytest
old-commit-hash: b0b4ae9c15e5e4651a83bc9a0a857baf27513d4b
2023-12-18 14:38:57 -08:00
Justin Newberry
ff12759e80 Move all fingerprints to fingerprints.py (#30790)
* move fingerpints

* fix circular imports

* fix circular imports

* fix auto fingerprint

* fix those tests

* and controlsd

* add labeler rule

* no defaultdict
old-commit-hash: 28eed156e0a62ab993de6d534bb102a6ede222f7
2023-12-18 14:04:27 -08:00
Dean Lee
cbbbaf22b7 camerad: zero memory before returning from MemoryManager::alloc (#30781)
* zero memory

* remove redundant memset

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b9080d23627849aafc4969d39df50cc615ffecdf
2023-12-18 13:54:11 -08:00
Dean Lee
6ae3e95542 camerad: cleanup includes (#30782)
* cleanup includes

* continue

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ab0b26d2b8dc8b3957812856917084af2cb3df0a
2023-12-17 22:42:52 -08:00
Adeeb Shihadeh
fbb4a865c0 packages cleanup, part two
old-commit-hash: 846be323d52ea07c7b303759beb3c4c45f526c45
2023-12-17 16:37:33 -08:00
Adeeb Shihadeh
207073dc4c fix unused
old-commit-hash: 51a93cf9aaa3c1bc07738a412a4e19cb3dc6dcba
2023-12-17 16:32:56 -08:00
royjr
d41f215df8 dependency: remove pycurl package (#30771)
* Update qcomgpsd.py

* Update url_file.py

* remove pycurl

* requests -> urllib3

* unused

* redundant

* fix import

* Revert "requests -> urllib3"

This reverts commit 7ca39e618917986f50356519d2795a432e3a5280.

* headless

* fix trail

* use requests.exceptions.RequestException

* use fp.tell

* fix indents

* reorder imports

* change timeout

* fix debug timing

* remove exception

* add timeout

* missing headers

* move to constructor

* move import

* unused import

* fix debug

* try

* no retries
old-commit-hash: 70624ffc819c29d842cb68fd86f42eac95421b10
2023-12-17 16:25:25 -08:00
Adeeb Shihadeh
feb03f3625 more common/ pruning (#30778)
old-commit-hash: 8c1176ca839bdfd805f87d281a6d06b9af881eb5
2023-12-17 11:40:46 -08:00
Andrei Radulescu
2c7427c203 wifiManager: fix for lteConnectionPath not set on boot (#30517)
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: b75cdd15422d8716390ff981102fdbd290770b75
2023-12-17 11:07:48 -08:00
Adeeb Shihadeh
9b40f9ab5f move common.window to xx (#30777)
old-commit-hash: 2c30421b161de649e7e255b04b86b1eb88698a86
2023-12-17 10:50:45 -08:00
Adeeb Shihadeh
ccfac589a2 Bump submodules (#30776)
bump submodules

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
old-commit-hash: 77bafb0708408a70d867828d48ac1f5795844774
2023-12-17 10:43:14 -08:00
Adeeb Shihadeh
63b374bd89 Cython KF1D to Python (#30773)
* Cython KF1D to Python

* cleanup

* set x

* less nesting

* fix release

* Revert "fix release"

This reverts commit 97e5d0f80405660efb861c7b9df7fbfd5dda5dd9.
old-commit-hash: 1421551297396cf16e3d041506f156c1626ded50
2023-12-16 23:45:28 -08:00
Adeeb Shihadeh
6f13688747 jenkins: only do replay when relevant files change
old-commit-hash: 7aeefaad65b1d31789031a904a0a5e66180537af
2023-12-16 23:35:43 -08:00
Adeeb Shihadeh
887cd1855c common: remove statlog (#30774)
* common: remove statlog

* fix release
old-commit-hash: a07060b24bf9bc0963dad5fa94dc9881d6e3cc06
2023-12-16 23:33:55 -08:00
Adeeb Shihadeh
ae20aa3d4a better uploader cpu thresholds
old-commit-hash: 4b54c0b3cd18a258df7a2f8752caf24980cf5d09
2023-12-16 22:37:35 -08:00
Adeeb Shihadeh
70a03a0f2d ui: show wifi password by default (#30766)
* ui: show wifi password by default

* update immediately
old-commit-hash: 2d466e70cdd6b4cf8ff5b939f401c2483a15f743
2023-12-16 22:36:26 -08:00
Adeeb Shihadeh
0bbffc86c0 common/file_helpers: remove xx stuff (#30772)
* remove xx stuff

* cleanup
old-commit-hash: 1346704426ef247a74de3922da670e53251858d9
2023-12-16 22:19:50 -08:00
royjr
6161996653 dependency: remove atomicwrites package (#30769)
* Update file_helpers.py

* remove dependency

* Revert "remove dependency"

This reverts commit e2bd5f4edab7d14b75f65c296631855d886e38d1.

* remove atomicwrites

* allow overwrite

* fix indents

* add type hints

* Update poetry.lock

* optional

* wrap
old-commit-hash: 7f9e41ce2e9da4c712eba469a0f4407afbe3583f
2023-12-16 21:58:19 -08:00
Adeeb Shihadeh
ab31860658 remove PyYAML package (#30770)
* remove PyYAML package

* remove those

* add comments back

* fix lock

* fix those
old-commit-hash: bc54ed794b2cd9dcb9522cdeb241ad78ac30d998
2023-12-16 20:48:57 -08:00
Maxime Desroches
aeba6b1592 CI: Close PRs not against master (#30768)
* check branch

* Update labeler.yaml

* Update labeler.yaml

* Update labeler.yaml

* rename

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6239cf67803690e541e32898443e7363c711b6ac
2023-12-16 19:29:45 -08:00
Adeeb Shihadeh
33c46434b9 remove sconscontrib package (#30767)
* remove sconscontrib package

* lock
old-commit-hash: a7828eba3ce73b523dc1bbd2c897c760329e7f7a
2023-12-16 19:16:34 -08:00
Adeeb Shihadeh
46e4e96440 cleanup python dependencies (#30764)
* less

* try to remove that

* little more

* update

* ugh still need this
old-commit-hash: dfa2e9146f1997f3879e4a2bb4be00c4e6068228
2023-12-16 18:52:15 -08:00
Dean Lee
9c4376a57f camerad/CameraBuf: remove deprecated rgb_stride (#30758)
old-commit-hash: ea7e701052f8da1fb562746c62bdb5a64410ea76
2023-12-15 19:48:26 -08:00
Dean Lee
cd7430d1ce ui: remove unused roadCameraState from submaster (#30757)
old-commit-hash: f9ee7bff006c792738f34e2923ace009e7f34709
2023-12-15 19:32:25 -08:00
Adeeb Shihadeh
69221c3d33 Bump submodules (#30755)
bump submodules

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: cb53e6579fb6763cf7feeb8e72da1aa3d9ddaa31
2023-12-15 17:44:54 -08:00
Shane Smiskol
3c7fcbb839 test_models: use gen_empty_fingerprint (#30752)
use gen_empty_fingerprint
old-commit-hash: d9a8846d58af2a3a9a598fcf9fb1acf89e4b54f6
2023-12-15 17:16:19 -08:00
Shane Smiskol
19572df478 Revert "test_models: check consitency between panda and openpilot for velocity (#30750)" (#30753)
This reverts commit 19c040150dcec8bfa4b70aa870ae5564739c278a.
old-commit-hash: 123ef46af3694afc30b4ec28ce8f995d9fa92cd1
2023-12-15 17:16:01 -08:00
Justin Newberry
ffae1ce377 test_models: check consitency between panda and openpilot for velocity (#30750)
* sanity check on velocity

* import from there

* use raw

* just check last

* ignore body

* reduce tolerance and bump panda

* its not average anymore

* slightly higher tolerance
old-commit-hash: 1ca1cf39223557955cee58e18a418914faf472c3
2023-12-15 14:50:37 -08:00
Adeeb Shihadeh
b6bd062d44 jenkins: always do the copy in safe_checkout
old-commit-hash: 1733b04741323155ee241fa5f300e779f3c931bb
2023-12-14 23:46:25 -08:00
Adeeb Shihadeh
030614e180 full clean for onroad device
old-commit-hash: 6f143f6c45b04702de24371db2d836210be9b860
2023-12-14 23:00:07 -08:00
Justin Newberry
a96c6335ca Docker: cleanup .git and test folders (#30747)
docker cleanup
old-commit-hash: d6eb1265a0cf14f2d53a2eb8250e0d6990503c7f
2023-12-14 22:31:29 -08:00