Cameron Clough
9bd90112d0
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b
.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae49
1 year ago
Adeeb Shihadeh
983b280545
debug: improve count_events.py output
...
old-commit-hash: 2cf831a304
1 year ago
Adeeb Shihadeh
624a515885
debug: print log messages in relative time
...
old-commit-hash: 528e555892
1 year ago
Shane Smiskol
aeb904d5da
test_fw_query_on_routes: get first qlog ( #31496 )
...
* fast
* this isn't internal
* see
old-commit-hash: c5f1f4c676
1 year ago
Adeeb Shihadeh
467f440f29
fix linter
...
old-commit-hash: 663f7017f2
1 year ago
Adeeb Shihadeh
8caf2530b3
debug/count_events.py improvements
...
old-commit-hash: 64851baea8
1 year ago
Justin Newberry
8b5f1235f4
live_logreader to its own file ( #31436 )
...
own file
old-commit-hash: d6762c3035
1 year ago
Justin Newberry
fbf5ada69f
LogReader: live_logreader helpers ( #31416 )
...
live helper
old-commit-hash: 0a92c5bf96
1 year ago
Shane Smiskol
a5a41e38d0
format fingerprints: fix empty FW versions ( #31230 )
...
fix
old-commit-hash: c2ee072907
1 year ago
Shane Smiskol
59bf311b0f
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>
old-commit-hash: 50cb6f819d
1 year ago
Justin Newberry
b2983772fa
test_fw_query_on_routes: use new LogReader ( #31134 )
...
a
old-commit-hash: 998eb8cde2
1 year ago
Harald Schäfer
66dbadb029
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>
old-commit-hash: e6c97c3846
1 year ago
Shane Smiskol
12903d673f
Fix f-string in test_fw_query_on_routes.py
...
old-commit-hash: 8c544d9139
1 year ago
Justin Newberry
c8cc30112d
rename segmentrangereader to logreader ( #30981 )
...
* Replace multilogiterator
* replace logreader
* update readme
* fix from_Bytes
* new section
* reset before iter
* selector
* fix internal
* whitespace
old-commit-hash: 3d73512c07
1 year ago
Justin Newberry
dd7921de3f
replace more tools with SegmentRangeReader ( #30968 )
...
* replace lrfros
* and those ones too
old-commit-hash: 7e9843b5e6
1 year ago
Adeeb Shihadeh
9d0f3fd80d
rm old debug script
...
old-commit-hash: ed153141fc
1 year ago
Justin Newberry
add14223c1
fix static analysis
...
old-commit-hash: 0320fb385a
1 year ago
Justin Newberry
5087dcc5bb
More migration to segmentrangereader ( #30959 )
...
* filter log message
* ffr
* gtfs
* gtfs
old-commit-hash: 32dfb3f8f2
1 year ago
Adeeb Shihadeh
05abdcdf38
update count_events.py to SegmentRangeReader
...
old-commit-hash: e9e8f4df38
1 year ago
Justin Newberry
19a15e05a9
migrate can_print_changes to segmentrangereader ( #30953 )
...
more tools
old-commit-hash: 926793b17f
1 year ago
Shane Smiskol
fc23ab6c8d
Fix string indentation ( #30943 )
...
* fix bad spacing
* more
* these aren't important
old-commit-hash: d689a4e653
1 year ago
Justin Newberry
090d3d2e41
move profiling tools to tools/profiling ( #30917 )
...
move profiling
old-commit-hash: 03d6233743
1 year ago
Justin Newberry
040223e69f
move car porting tools to tools/car_porting ( #30916 )
...
just this for now
old-commit-hash: e86d74b347
1 year ago
Shane Smiskol
f126409b85
PR comments: fix image links
...
old-commit-hash: 205a78f02d
1 year ago
Adeeb Shihadeh
e25712ddd2
stricter file size limits ( #30839 )
...
* move all pics to lfs
* wav and rest of so
* more to lfs
* ignore a few
* push that up
old-commit-hash: 1f9970ba3d
1 year ago
Shane Smiskol
83ee5fa80d
format fingerprints: simplify sorting ( #30826 )
...
* unique + sort + don't modify FW_VERSIONS
* clean up
* not here
* self expl
old-commit-hash: b38c580c2e
1 year ago
Justin Newberry
3b65f2075e
format_fingerprints: automatically sort fw fingerprints ( #30819 )
...
* Auto sort fingerprints
* add comment
old-commit-hash: 3d8c78d6b3
1 year ago
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 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>
old-commit-hash: 3713e4d5ea
1 year ago
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: 28eed156e0
1 year ago
Kacper Rączy
e253626079
run_process_on_route: qlog and fingerprint options ( #30688 )
...
Add --qlog and --fingerprint options for run_process_on_route
old-commit-hash: 8049731553
1 year ago
Shane Smiskol
f5d1c4f371
ruff: check newline ( #30668 )
...
* check newline
* nothing catches this
old-commit-hash: 97da129e11
1 year ago
Adeeb Shihadeh
f38648f84b
rename carEvents -> onroadEvents ( #30577 )
...
* rename carEvents -> onroadEvents
* bump cereal
* bump cereal
old-commit-hash: b97e5b0e03
1 year ago
Justin Newberry
c92907d795
update profiler docs again ( #30503 )
...
update SD docs again
old-commit-hash: 7a4a8c9a4a
1 year ago
Justin Newberry
1a4f40131c
SDProfiler: update readme ( #30479 )
...
* update instructions
* fix that
* and that too
old-commit-hash: 631691c212
1 year ago
Justin Newberry
42ad28875a
Tools: a basic auto fingerprinting tool ( #30117 )
...
* v1 auto fingerprint tool
* executable
* static analysis
* move to selfdrive/debug
* from any directory
* fix static analysis
old-commit-hash: 05f7c96327
2 years ago
Jiyong Youn
eb986384c8
HKG: Enable radar tracks for 2021 K5 Hybrid ( #30113 )
...
old-commit-hash: 2fee341a90
2 years ago
Mike McKay
586f6acdac
Update vw_mqb_config.py ( #30101 )
...
Added a message to tell the user to kill the comma process when running the script.
old-commit-hash: a5f2fd5b1a
2 years ago
Adeeb Shihadeh
1b236c3b86
remove old profiling tool
...
old-commit-hash: 7ac659ade4
2 years ago
royjr
34aafb5b1c
debug: update alerts ( #30023 )
...
* remove vehicleModelInvalid
* add locationdTemporaryError
* add paramsdTemporaryError
old-commit-hash: f7f8b769ef
2 years ago
Shane Smiskol
13381ed446
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
old-commit-hash: 7f073483bb
2 years ago
Justin Newberry
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16
2 years ago
Adeeb Shihadeh
16ec56398c
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
old-commit-hash: a9626f95b6
2 years ago
Adeeb Shihadeh
51634f52dc
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
old-commit-hash: d61f86d339
2 years ago
Shane Smiskol
7e716dbc87
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
old-commit-hash: e2910d0720
2 years ago
Justin Newberry
f33b4de80b
Ruff: b905 (strict zip) ( #29336 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
* b905
old-commit-hash: e4ead4f183
2 years ago
Justin Newberry
d487c0501f
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
old-commit-hash: 62c1e65924
2 years ago
Shane Smiskol
dd2d4decda
test_car_model: remove duplicate argument ( #29309 )
...
* only need to pass test_route
* unused
old-commit-hash: 6106876da7
2 years ago
Justin Newberry
3ee0786de3
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
old-commit-hash: 7fdd9fc37c
2 years ago
Justin Newberry
7b677910df
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
old-commit-hash: cf64b27168
2 years ago
Justin Newberry
ff96892511
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit ffad7279cbad3c4f2ea786287b4624d3a3aa18d7.
old-commit-hash: a91764954b
2 years ago