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
Larry Walters
d8aab568c6
Hyundai: enable radar tracks for 2019 Santa Fe ( #28623 )
...
Hyundai: Adding second radar FW version for 2019 Santa Fe
2 years ago
Kacper Rączy
64377a88f9
process_replay: helpers ( #28367 )
...
* process_replay helper
* Refactor
* refactor check_enabled uses
* fix __init__
* noqa in __init__ imports
* Move compare_logs outside of process_replay
* Move save_logs to tools.lib.helpers
* Remove save_log from compare_logs
* fix lint issues
2 years ago
Adeeb Shihadeh
43b0e51906
show ign off time in count events debug script
2 years ago
Adeeb Shihadeh
ec53fad3c4
count_events.py: show alerts
2 years ago
Jason Young
a3070d0e35
VW MQB: Config tool update for new EPS ( #28056 )
2 years ago
Shane Smiskol
1520716d42
FW versions: import common variable ( #27905 )
...
* just import from fw_versions
* fix
* more fix
2 years ago
Shane Smiskol
50d382884d
test_car_model: allow route or segment name ( #27866 )
...
* allow route or segment name
* fix
* fixes
* fixes
2 years ago
Adeeb Shihadeh
038d34aa7f
tizi: affine IRQ by action instead of number ( #27811 )
...
* tizi: affine IRQ by action instead of number
* do camera irqs
* debug script
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Jason Wen
f9c112e9b8
Hyundai: add Sonata FW version to enable radar tracks ( #27463 )
2 years ago
Robbe Derks
d26d8b3ba9
Improve OX frame timing jitter ( #27582 )
...
* frame timing script
* enable vsync output and improve fsin tracking
* increase measurement time
* fix python linting
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Shane Smiskol
7f10c736ab
test_fw_query_on_routes.py: don't print FW for logging
2 years ago
Shane Smiskol
48b059d367
CAN fingerprint script improvements ( #27355 )
...
* match online logic
* 0 and 2 are different buses. on gm, same address has different lengths
* match fingerprint_from_route
2 years ago
Jason Wen
b740bdc99c
Hyundai: Enable radar tracks for Santa Fe 2019 ( #27175 )
2 years ago
Shane Smiskol
7090a88419
Fix fuzz_fw_fingerprint.py script
2 years ago
Jason Young
f6dc12a735
VW MQB: Add diagnostic firewall note to config tool ( #26975 )
2 years ago
Shane Smiskol
406d12b7c1
Fix car docs diff bot ( #26955 )
...
fix
2 years ago
Shane Smiskol
b00bc4f57e
Car interface: require fingerprint and FW versions to get params ( #26932 )
...
* require fingerprint and FW versions
* add get_non_essential_params()
* comment
* all required
* classmethod, need to allow subclasses to override _get_params
* fix that
* fix
* fix
* wrong fix 🤦
2 years ago
Adeeb Shihadeh
f14deae475
Revert "Car interface: require fingerprint and FW versions to get params ( #26766 )"
...
This reverts commit b68dabb689
.
2 years ago
Shane Smiskol
b68dabb689
Car interface: require fingerprint and FW versions to get params ( #26766 )
...
* require fingerprint and FW versions
* add get_non_essential_params()
* comment
* all required
* classmethod, need to allow subclasses to override _get_params
* fix that
* fix
2 years ago
Adeeb Shihadeh
65fa87a969
cleanup panda types everywhere ( #26574 )
...
* cleanup panda types everywhere
* one more
2 years ago
Adeeb Shihadeh
c35e2b8e30
Hyundai: common CAN-FD brake pressed signal ( #26170 )
...
* Hyundai: common CAN-FD brake pressed signal
* new name
* bump panda
* bump opendbc to master
* bump opendbc
* bump panda
* bump panda
Co-authored-by: Shane Smiskol <shane@smiskol.com>
3 years ago
Adeeb Shihadeh
15b8c7d1dc
ui: publish draw times + add test ( #26119 )
...
* ui: publish draw times + add test
* add some checks
* adjust
* fix linter
* update max
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Jason Young
46e741c7cc
VW MNB: Add EPS config script support ( #26007 )
3 years ago