Shane Smiskol
e68bb26e14
tools: keep re pattern file small ( #33084 )
...
remove bz2 from re file
9 months ago
Kacper Rączy
c96dbd5a0b
Fix msgq context overrides ( #33014 )
...
* Fix msgq context overrides
* Remove unneccesary changes
* add reset_context helper
* Remove redundant import
10 months ago
Shane Smiskol
f31ad97e92
qlog_size: decimate rlog option ( #33011 )
...
* decimate option
* clean up
* check exists
10 months ago
Shane Smiskol
35a4a773f1
Revert "selfdrive/car: ban imports from external modules" ( #32993 )
...
Revert "selfdrive/car: ban imports from external modules (#32973 )"
This reverts commit 83d4623590
.
10 months ago
Dean Lee
83d4623590
selfdrive/car: ban imports from external modules ( #32973 )
...
* lint import
* Update selfdrive/car/__init__.py
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
10 months ago
Shane Smiskol
69d4b0fdf0
ruff: check shadowed variables ( #32851 )
...
* check shadowed variables
* fix
10 months ago
Shane Smiskol
e798caa3e5
qlog_size.py: more accurate msg size breakdown ( #32723 )
...
* grouping changes outcome
* clean up
* clean up
* clean up
* clean up
* clean up
11 months ago
Shane Smiskol
81dc33e569
Fixup qlog size ( #32719 )
...
* stash
* Revert "stash"
This reverts commit 5a22b44919
.
* improvements
* rm
* method 2
* Revert "method 2"
This reverts commit 7112d95b3e
.
* unreal for now
* stash
* Revert "stash"
This reverts commit a7c5b31d80
.
* clean up
* update description
11 months ago
Adeeb Shihadeh
20a44bb4e9
debug: add summary to check_timings
11 months ago
Adeeb Shihadeh
34e329649d
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
11 months ago
Shane Smiskol
c7b3ece37e
revert marking some files as unexecutable ( #32613 )
...
* this is not a test
* these are not tests!
11 months ago
Adeeb Shihadeh
c59887c810
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
11 months ago
Shane Smiskol
63f55f4915
debug FW fingerprinting: live support ( #32585 )
...
* live debug!
* clean up
11 months ago
Adeeb Shihadeh
accdade4cf
manager: move to system/ ( #32538 )
...
* manager: move to system/
* one more
11 months ago
Adeeb Shihadeh
b2e4c64cf8
ruff: enable UP
12 months ago
Adeeb Shihadeh
2d838f95da
boardd: add debug flag for injecting SPI errors ( #32346 )
...
* pull out ll first
* errors
---------
Co-authored-by: Comma Device <device@comma.ai>
12 months ago
Shane Smiskol
888b38c3db
print_flags.py: clean up
...
always ensure current impl of something is the best!
12 months ago
Shane Smiskol
f597d63bf6
PlatformConfig: clean up and print all flags ( #32369 )
...
* script to print flags
* don't need
* SAL
* back
* fix
12 months ago
Shane Smiskol
97dc444023
fix uiview ( #32290 )
...
* fix uiview
* add DMoji!
1 year ago
Shane Smiskol
cb8e336cd7
debug FW query offline: annotate sendcan/can ( #32239 )
...
bet
1 year ago
Shane Smiskol
6acf763db4
Volkswagen: fingerprint on VIN chassis code ( #32148 )
...
* add function signature and behavior comment
* add test
* move chassis codes to platform config!
* add a shared chassis code test
* function
* test matching
* this commit isn't complete yet
* Revert "this commit isn't complete yet"
This reverts commit ae77d5cd54
.
* need to check WMI
* TODO: test WMI
* test wmi
* radar FW sanity check
* fix test
* fixes from merge
fixes from merge
* whoops
* fix static analysis!
* do match_fw_to_car
match_fw_to_car takes vin
* makes sense to keep it one function, and we can return exact or fuzzy!
* clean up
* kinda pointless
* fix more tests
* back to function being only fuzzy
* revert test_fw_fingerprint
* revert test_fw_fingerprint
* simplify
* clean up/fixes
* rename test
* less duplicatey WMI descriptions
* fix
* convert to enum
* I am confident about these WMIs
* these are also good
* we support 5N AUS/NZ and NAR (North American) AX Tiguans
fixes
* Tiguan also Mexico
* only one user for caddy
* got from the test route
* check that the gateway type matches the platform (each platform has 1 or 2 types)
* ~gateway~ -> exact FW match
* remove re
* ensure WMIs are set
* actually no reason to delete
* move comment up to the platform config
* proper wmis typing
* spacing
* flip
1 year ago
MarinkoMagla
9d1b3cc773
Encode the actual current date in vw_mqb_config.py ( #32093 )
1 year ago
Dean Lee
178cc8747c
debug/check_can_parser_performance: remove overhead of capnp conversion ( #32048 )
1 year ago
Shane Smiskol
81fae3d807
More fingerprint migration fixes ( #32018 )
...
* fix migration
* another
1 year ago
thenhnn
489528dcae
PlatformConfig: automatically get platform_str from the enum name ( #31868 )
...
* get platform_str from the enum name
* fix tests
* add migration table
* remove impossible todo
* Add link to PR in MIGRATION table
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Remove useless brand name comments and rename RAM_1500 to RAM_1500_5TH_GEN
* rename RAM_HD to RAM_HD_5TH_GEN
* rename references to RAM_HD and RAM_1500
* change "mock" to "MOCK" and rename torque data of Nissan Leaf 2018 IC
* remove MOCK from fingerprints.py
* change hard-coded car model in test_can_fingerprint.py/test_timing
* migration
* update ref
* space
* prius
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: justin newberry <justin@comma.ai>
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
1 year ago
Justin Newberry
0b92f4e9ee
more car info -> car docs ( #31885 )
1 year ago
Shane Smiskol
de7f14dbd7
Fingerprints migration dictionary ( #31838 )
...
move migration to op!
1 year ago
Shane Smiskol
1644572be2
run_process_on_route: print log location
1 year ago
noname314
95a80fd2cd
HKG: Add FW versions and Enable Radar Tracks for KOR Sonata DN8 Hybrid 2020 ( #31371 )
...
* HKG: Add FW versions for KOR Sonata DN8 Hybrid 2020
* HKG: Enable radar tracks for KOR Sonata DN8 Hybrid 2020
* rm extra
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
1 year ago
Cameron Clough
995250ae49
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
1 year ago
Adeeb Shihadeh
2cf831a304
debug: improve count_events.py output
1 year ago
Adeeb Shihadeh
528e555892
debug: print log messages in relative time
1 year ago
Shane Smiskol
c5f1f4c676
test_fw_query_on_routes: get first qlog ( #31496 )
...
* fast
* this isn't internal
* see
1 year ago
Adeeb Shihadeh
663f7017f2
fix linter
1 year ago
Adeeb Shihadeh
64851baea8
debug/count_events.py improvements
1 year ago
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