Justin Newberry
d6762c3035
live_logreader to its own file ( #31436 )
...
own file
1 year ago
Justin Newberry
0a92c5bf96
LogReader: live_logreader helpers ( #31416 )
...
live helper
1 year ago
Shane Smiskol
c2ee072907
format fingerprints: fix empty FW versions ( #31230 )
...
fix
1 year ago
Shane Smiskol
50cb6f819d
selfdrive/debug: view iso-tp communication from logs ( #31217 )
...
* add
* some clean up
* more clean up
* add
* ltl
* add todo
* rm
* use default_mode
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
1 year ago
Justin Newberry
998eb8cde2
test_fw_query_on_routes: use new LogReader ( #31134 )
...
a
1 year ago
Harald Schäfer
e6c97c3846
Delete lat planner ( #31089 )
...
* Initial commit
* Fixup
* typo
* ignore lateral plan
* Update cereal
* Remove lateralPlan
* Fix release build
* Fix release build
* give car params
* Add carParams to include_all_types
* Write car param in powerdraw test
* add demo mode
* Update model regf
* proc replay ref commit
* Try
* Move enum definition
* Update cereal
* typo
* Write car param for modeld test
* Update ref
* Update model ref again
---------
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
1 year ago
Shane Smiskol
8c544d9139
Fix f-string in test_fw_query_on_routes.py
1 year ago
Justin Newberry
3d73512c07
rename segmentrangereader to logreader ( #30981 )
...
* Replace multilogiterator
* replace logreader
* update readme
* fix from_Bytes
* new section
* reset before iter
* selector
* fix internal
* whitespace
1 year ago
Justin Newberry
7e9843b5e6
replace more tools with SegmentRangeReader ( #30968 )
...
* replace lrfros
* and those ones too
1 year ago
Adeeb Shihadeh
ed153141fc
rm old debug script
1 year ago
Justin Newberry
0320fb385a
fix static analysis
1 year ago
Justin Newberry
32dfb3f8f2
More migration to segmentrangereader ( #30959 )
...
* filter log message
* ffr
* gtfs
* gtfs
1 year ago
Adeeb Shihadeh
e9e8f4df38
update count_events.py to SegmentRangeReader
1 year ago
Justin Newberry
926793b17f
migrate can_print_changes to segmentrangereader ( #30953 )
...
more tools
1 year ago
Shane Smiskol
d689a4e653
Fix string indentation ( #30943 )
...
* fix bad spacing
* more
* these aren't important
1 year ago
Justin Newberry
03d6233743
move profiling tools to tools/profiling ( #30917 )
...
move profiling
1 year ago
Justin Newberry
e86d74b347
move car porting tools to tools/car_porting ( #30916 )
...
just this for now
1 year ago
Shane Smiskol
205a78f02d
PR comments: fix image links
1 year ago
Adeeb Shihadeh
1f9970ba3d
stricter file size limits ( #30839 )
...
* move all pics to lfs
* wav and rest of so
* more to lfs
* ignore a few
* push that up
1 year ago
Shane Smiskol
b38c580c2e
format fingerprints: simplify sorting ( #30826 )
...
* unique + sort + don't modify FW_VERSIONS
* clean up
* not here
* self expl
1 year ago
Justin Newberry
3d8c78d6b3
format_fingerprints: automatically sort fw fingerprints ( #30819 )
...
* Auto sort fingerprints
* add comment
1 year ago
Justin Newberry
3713e4d5ea
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 97bc9e3bdb
.
* 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>
1 year ago
Justin Newberry
28eed156e0
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
1 year ago
Kacper Rączy
8049731553
run_process_on_route: qlog and fingerprint options ( #30688 )
...
Add --qlog and --fingerprint options for run_process_on_route
1 year ago
Shane Smiskol
97da129e11
ruff: check newline ( #30668 )
...
* check newline
* nothing catches this
1 year ago
Adeeb Shihadeh
b97e5b0e03
rename carEvents -> onroadEvents ( #30577 )
...
* rename carEvents -> onroadEvents
* bump cereal
* bump cereal
1 year ago
Justin Newberry
7a4a8c9a4a
update profiler docs again ( #30503 )
...
update SD docs again
1 year ago
Justin Newberry
631691c212
SDProfiler: update readme ( #30479 )
...
* update instructions
* fix that
* and that too
1 year ago
Justin Newberry
05f7c96327
Tools: a basic auto fingerprinting tool ( #30117 )
...
* v1 auto fingerprint tool
* executable
* static analysis
* move to selfdrive/debug
* from any directory
* fix static analysis
2 years ago
Jiyong Youn
2fee341a90
HKG: Enable radar tracks for 2021 K5 Hybrid ( #30113 )
2 years ago
Mike McKay
a5f2fd5b1a
Update vw_mqb_config.py ( #30101 )
...
Added a message to tell the user to kill the comma process when running the script.
2 years ago
Adeeb Shihadeh
7ac659ade4
remove old profiling tool
2 years ago
royjr
f7f8b769ef
debug: update alerts ( #30023 )
...
* remove vehicleModelInvalid
* add locationdTemporaryError
* add paramsdTemporaryError
2 years ago
Shane Smiskol
7f073483bb
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
2 years ago
Justin Newberry
1ee6ed4b16
Linter: remove pylint ( #29611 )
...
remove pylint
2 years ago
Adeeb Shihadeh
a9626f95b6
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
2 years ago
Adeeb Shihadeh
d61f86d339
replace custom clock helpers with time module ( #29499 )
...
* replace custom clock stuff wtih time module
* fix double
* fix release
* bump cereal
* update type
* fix one more
2 years ago
Shane Smiskol
e2910d0720
CANParser: perf benchmark on route script ( #29324 )
...
* timing test
* test
* fix
* print
* loop
* clean up
* wider range
* Update selfdrive/car/tests/test_models.py
* Apply suggestions from code review
* run many times
* Update selfdrive/car/tests/test_models.py
* run for many its
* run with unittest and print as list
* Update .github/workflows/selfdrive_tests.yaml
* Update .github/workflows/selfdrive_tests.yaml
* total time is super inconsistent (body)
* Update selfdrive/car/tests/test_models.py
* clean up
* clean up
* clean up
* this works!
* draft
* test suite not as modular
* try something like this
* can do kb, but not too representative
* clean up
* remove kb? it depends on signals
* clean up
* more clean up
* rename
* just measure all CANParsers
* can do all this manually
* but this is way simpler
* comment
* fix mypy
* this is correct too
* 3 seconds instead of 1.5
2 years ago
Justin Newberry
e4ead4f183
Ruff: b905 (strict zip) ( #29336 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
* b905
2 years ago
Justin Newberry
62c1e65924
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
2 years ago
Shane Smiskol
6106876da7
test_car_model: remove duplicate argument ( #29309 )
...
* only need to pass test_route
* unused
2 years ago
Justin Newberry
7fdd9fc37c
CI: Pylint to ruff ( #29294 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
* set line length
* pylint exclusions to ruff
* same excludes as old linter
* fix tools QA
* remove unrequired check
* revert linting third_party
* ignore e402
2 years ago
Justin Newberry
cf64b27168
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
2 years ago
Justin Newberry
a91764954b
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit cb31a53d8a
.
2 years ago
Shane Smiskol
b34341e7e5
test fw query: fix migration import ( #29283 )
...
huh this was just broken
2 years ago
Justin Newberry
cb31a53d8a
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
2 years ago
Adeeb Shihadeh
3da28d4df2
remove old debug scripts
2 years ago
Adeeb Shihadeh
1945c356c2
agnos 8 ( #28843 )
...
* agnos 8
* update to python 3.11.4 (#27452 )
* rebase
* optional
* lower cython
* TEMP don't pull cl to use python3.11
* Revert "lower cython"
This reverts commit c5132f8a27
.
* fix cython
* remove tensorrt
* carla + opencv
* macos
* update timm and smp
* pynvc
* https
* downgrade numpy
* pin scipy
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
* revert that
* fix linter
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
2 years ago
Adeeb Shihadeh
9c307f2550
Revert "Update pycapnp and Cython ( #29021 )"
...
This reverts commit 76ef1b9b9f
.
2 years ago
Maxime Desroches
76ef1b9b9f
Update pycapnp and Cython ( #29021 )
...
* cython + pycapnp
* from_bytes with context
* poetry lock
* limit numpy
* force build
* Revert "force build"
This reverts commit 8c7cb00421
.
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago