MarinkoMagla
9d1b3cc773
Encode the actual current date in vw_mqb_config.py ( #32093 )
2024-04-10 15:22:36 -07:00
Dean Lee
178cc8747c
debug/check_can_parser_performance: remove overhead of capnp conversion ( #32048 )
2024-03-29 10:17:39 -07:00
Shane Smiskol
81fae3d807
More fingerprint migration fixes ( #32018 )
...
* fix migration
* another
2024-03-26 16:43:09 -07:00
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 >
2024-03-19 11:16:02 -07:00
Justin Newberry
0b92f4e9ee
more car info -> car docs ( #31885 )
2024-03-17 16:53:57 -07:00
Shane Smiskol
de7f14dbd7
Fingerprints migration dictionary ( #31838 )
...
move migration to op!
2024-03-12 11:50:26 -07:00
Shane Smiskol
1644572be2
run_process_on_route: print log location
2024-03-06 01:04:31 -08:00
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 >
2024-03-05 18:08:32 -08:00
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 56ec18bb6b8602a0b612f3803d96cdad14b52066.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
2024-02-24 16:41:23 -08:00
Adeeb Shihadeh
2cf831a304
debug: improve count_events.py output
2024-02-20 14:20:53 -08:00
Adeeb Shihadeh
528e555892
debug: print log messages in relative time
2024-02-19 22:33:08 -08:00
Shane Smiskol
c5f1f4c676
test_fw_query_on_routes: get first qlog ( #31496 )
...
* fast
* this isn't internal
* see
2024-02-16 17:55:15 -08:00
Adeeb Shihadeh
663f7017f2
fix linter
2024-02-15 13:35:49 -08:00
Adeeb Shihadeh
64851baea8
debug/count_events.py improvements
2024-02-15 13:13:11 -08:00
Justin Newberry
d6762c3035
live_logreader to its own file ( #31436 )
...
own file
2024-02-13 13:29:52 -08:00
Justin Newberry
0a92c5bf96
LogReader: live_logreader helpers ( #31416 )
...
live helper
2024-02-12 12:58:25 -08:00
Shane Smiskol
c2ee072907
format fingerprints: fix empty FW versions ( #31230 )
...
fix
2024-01-30 03:07:00 -08:00
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 >
2024-01-29 15:05:09 -08:00
Justin Newberry
998eb8cde2
test_fw_query_on_routes: use new LogReader ( #31134 )
...
a
2024-01-23 17:41:43 -08:00
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 >
2024-01-21 12:09:48 -08:00
Shane Smiskol
8c544d9139
Fix f-string in test_fw_query_on_routes.py
2024-01-17 14:39:31 -08:00
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
2024-01-12 12:53:50 -08:00
Justin Newberry
7e9843b5e6
replace more tools with SegmentRangeReader ( #30968 )
...
* replace lrfros
* and those ones too
2024-01-11 11:46:31 -08:00
Adeeb Shihadeh
ed153141fc
rm old debug script
2024-01-11 10:56:46 -08:00
Justin Newberry
0320fb385a
fix static analysis
2024-01-11 10:54:53 -08:00
Justin Newberry
32dfb3f8f2
More migration to segmentrangereader ( #30959 )
...
* filter log message
* ffr
* gtfs
* gtfs
2024-01-11 10:14:10 -08:00
Adeeb Shihadeh
e9e8f4df38
update count_events.py to SegmentRangeReader
2024-01-10 23:19:16 -08:00
Justin Newberry
926793b17f
migrate can_print_changes to segmentrangereader ( #30953 )
...
more tools
2024-01-10 13:02:39 -08:00
Shane Smiskol
d689a4e653
Fix string indentation ( #30943 )
...
* fix bad spacing
* more
* these aren't important
2024-01-08 15:36:43 -08:00
Justin Newberry
03d6233743
move profiling tools to tools/profiling ( #30917 )
...
move profiling
2024-01-05 16:22:45 -08:00
Justin Newberry
e86d74b347
move car porting tools to tools/car_porting ( #30916 )
...
just this for now
2024-01-05 11:53:03 -08:00
Shane Smiskol
205a78f02d
PR comments: fix image links
2024-01-02 14:18:52 -08:00
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
2023-12-26 15:22:59 -08:00
Shane Smiskol
b38c580c2e
format fingerprints: simplify sorting ( #30826 )
...
* unique + sort + don't modify FW_VERSIONS
* clean up
* not here
* self expl
2023-12-20 15:51:56 -08:00
Justin Newberry
3d8c78d6b3
format_fingerprints: automatically sort fw fingerprints ( #30819 )
...
* Auto sort fingerprints
* add comment
2023-12-20 11:54:31 -08:00
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 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 >
2023-12-20 11:18:29 -08:00
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
2023-12-18 14:04:27 -08:00
Kacper Rączy
8049731553
run_process_on_route: qlog and fingerprint options ( #30688 )
...
Add --qlog and --fingerprint options for run_process_on_route
2023-12-11 15:38:59 -08:00
Shane Smiskol
97da129e11
ruff: check newline ( #30668 )
...
* check newline
* nothing catches this
2023-12-09 13:24:18 -08:00
Adeeb Shihadeh
b97e5b0e03
rename carEvents -> onroadEvents ( #30577 )
...
* rename carEvents -> onroadEvents
* bump cereal
* bump cereal
2023-12-01 22:48:29 -08:00
Justin Newberry
7a4a8c9a4a
update profiler docs again ( #30503 )
...
update SD docs again
2023-11-20 13:30:16 -08:00
Justin Newberry
631691c212
SDProfiler: update readme ( #30479 )
...
* update instructions
* fix that
* and that too
2023-11-20 10:56:50 -08:00
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
2023-09-30 20:50:29 -07:00
Jiyong Youn
2fee341a90
HKG: Enable radar tracks for 2021 K5 Hybrid ( #30113 )
2023-09-30 15:19:12 -07:00
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.
2023-09-29 11:00:44 -07:00
Adeeb Shihadeh
7ac659ade4
remove old profiling tool
2023-09-25 20:20:24 -07:00
royjr
f7f8b769ef
debug: update alerts ( #30023 )
...
* remove vehicleModelInvalid
* add locationdTemporaryError
* add paramsdTemporaryError
2023-09-23 08:31:20 -07:00
Shane Smiskol
7f073483bb
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
2023-09-21 18:25:15 -07:00
Justin Newberry
1ee6ed4b16
Linter: remove pylint ( #29611 )
...
remove pylint
2023-08-24 16:30:54 -07:00
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 db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
2023-08-20 20:49:55 -07:00