Commit Graph

255 Commits

Author SHA1 Message Date
Erich Moraga
c9dc7a9458 Add missing HIGHLANDERH_TSS2 ESP & engine f/w (#25066)
* Add missing HIGHLANDERH_TSS2 ESP & engine f/w

`@pkozlowski#5214` 2022 Highlander Hybrid (Poland)  DongleID/route b2e9858e29db492b|2022-07-07--17-57-24

* Fix test_fw_query_on_routes with older routes

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 94c8717cac
2022-07-08 20:03:21 -07:00
Adeeb Shihadeh
8b81a3ac2f add pandas and tabulate packages (#25076)
* add pandas and tabulate packages

* remove that
old-commit-hash: 1382e28aa0
2022-07-07 20:02:07 -07:00
Shane Smiskol
ab7beb99de FW query debug script: print version brand (#25058)
* test_fw_query_on_routes: print brand

* dynamic paddign
old-commit-hash: 30cb9ac962
2022-07-07 00:28:21 -07:00
Shane Smiskol
4eabd3b9d9 FW fingerprinting: log all FW versions (#25042)
* get_fw_versions returns all fw versions with request's brand

* keep track of everything received

* debug

* need to regen or write a hack in build_fw_dict

* to be safe, still replace old responses within same brands (hyundai responds to two queries, can fix later)

to be safe, still replace old responses within same brands (hyundai responds to two queries, can fix later)

* update test_fw_query_on_routes

* clean up

* better name

* slightly cleaner

* fix test_startup unit test

del

* fix imports

* fix test_fw_fingerprint

fix test_fw_fingerprint

fix

* fingerprint on all FW_VERSIONS, not just brands with requests

* support old routes in test_fw_query_on_routes

* regen and update refs

* similar function style to before

* better comment

* space

switch name

* try to exact match first

* useless else

* fix debug script

* simpler dictionary

* bump cereal to master
old-commit-hash: ea241bf3dc
2022-07-06 19:42:58 -07:00
Adeeb Shihadeh
2445fdc4d0 remove mypy ignore from a few scripts
old-commit-hash: 11b5d51da6
2022-06-30 15:36:40 -07:00
Adeeb Shihadeh
262839b534 count_events improvements
old-commit-hash: 1dffd48a2b
2022-06-23 15:07:34 -07:00
Willem Melching
7c2ef148e6 live_cpu_and_temp: handle duplicate proc names
old-commit-hash: cd87772e03
2022-06-17 11:52:30 +02:00
Adeeb Shihadeh
3c48bc47b7 Move a bunch of stuff to system/ part 3 (#24829)
* move swaglog.py

* timezoned

* logmessaged

* version.py

* fix linter
old-commit-hash: 0fce5d9045
2022-06-11 23:19:27 -07:00
Adeeb Shihadeh
77224f3332 count events: add simple camera debugging
old-commit-hash: 66bc246210
2022-06-10 16:10:06 -07:00
Shane Smiskol
5f1990aa05 test_models: support for running on any route (#24002)
* run test_models on route

* clean up a bit

clean up a bit

clean up a bit

* remove

remove

* make route positional

* fixes from merge

* not working as I expected

* finally working, easiest way seems to make a new subclass dynamically

* bring back routes

* remove comments

* revert skiptest

* fix subclass name

* car first

* this should be here...

* this should work

* comment

* pytest doesn't support dynamically loading with load_tests

* minimize test_models.py diff, and make new file for running on a route

* fix static analysis

* remove print

* clean up a tiny bit

* rename and make required

* auto detect car fingerprint if not given

* move to location that makes more sense

* Add ci argument for running route from routes.py
old-commit-hash: e5b189416d
2022-06-02 17:23:05 -07:00
Shane Smiskol
998d5ae1a1 test_fw_query_on_routes: warn on no CarParams (#24655)
add warning for no carparams
old-commit-hash: e32a735a58
2022-05-26 13:59:19 -07:00
Willem Melching
01c2070a59 remove debug print
old-commit-hash: fd63de71f0
2022-05-18 12:29:24 +02:00
Willem Melching
f957c16a7b make normal logreader more robust (#24577)
old-commit-hash: 194e5fdf1c
2022-05-18 12:21:01 +02:00
Adeeb Shihadeh
a6bcd14abd show which cameras are malfunctioning (#24558)
old-commit-hash: 0b1f6e3620
2022-05-16 22:01:04 -07:00
Adeeb Shihadeh
cfc16a88c5 improved alert verbosity (#24434)
* improved alert verbosity

* better testing script

* better description

* speed diff

* touch ups

* fix that
old-commit-hash: b1858df00e
2022-05-16 21:19:38 -07:00
Adeeb Shihadeh
5e03fb3de5 can_printer: add frequency
old-commit-hash: 28a08ff12e
2022-05-12 17:07:32 -07:00
Adeeb Shihadeh
8abd24a15e ftrace profiling script
old-commit-hash: c8629a4b36
2022-05-12 11:58:56 -07:00
Jason Young
a5b2304b06 Improved steering accuracy measurement script (#23583)
* move steering accuracy measurement script

* git rebase is utterly worthless

* fix header width
old-commit-hash: c007c7e681
2022-05-12 15:09:37 +02:00
Dylan Herman
2dfba97175 add mypy check for return-any (#24379)
* add mypy check for return-any

* remove unused import

* typing

* remove unnecessary variable typing

* cleanup

* cleanup

* bump submodules

* small fixes

* only a problem on mac

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: d2eef1955c
2022-05-12 14:59:00 +02:00
Adeeb Shihadeh
ce48c81299 remove eon debug scripts
old-commit-hash: b16e612102
2022-05-05 19:42:18 -07:00
Keyvan Fatehi
576ae03e43 Fix spelling in dump.py help output (#24381)
old-commit-hash: 7b394510cb
2022-04-29 20:13:44 -07:00
grekiki
77d6d9a083 mypy: enable --warn-unused-ignores (#24287)
* this is the easy part to check

* Not sure what this fixes, 8aaf00c6a4

* bump laika

* works here

* cleanup

* add types-certifi

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 049b163ea0
2022-04-27 14:26:15 -07:00
Adeeb Shihadeh
75174c93d7 more verbose debug alerts (#24126)
old-commit-hash: 70987fd9d9
2022-04-22 16:12:54 -07:00
grekiki
cc943ac9a5 mypy: enable --warn-unreachable (#24282)
* Optional solves mypy assuming None is always None

* oops

* spaces

* Update registration.py

* fix local error

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: b8b15d5cf1
2022-04-21 18:27:45 +02:00
Adeeb Shihadeh
5a9644261f remove comma two support (#24248)
* remove comma two support

* cleanup release files

* little more

* more libs

* no more gralloc

* add snpe back
old-commit-hash: 5c48e7bc86
2022-04-18 17:55:23 -07:00
Willem Melching
7f623e4092 filter_log_message: support errorLogMessage from qlogs
old-commit-hash: f1ca848ff7
2022-04-15 11:06:28 -07:00
Adeeb Shihadeh
2569e85349 agl plugins work nicely on latest profiler
old-commit-hash: 1fa1c44342
2022-04-14 21:34:14 -07:00
Shane Smiskol
d2edbf520b uiview: show model (#24210)
* assume not car when using uiview

* write carparams
old-commit-hash: 52e5aa8409
2022-04-14 16:37:09 -07:00
Adeeb Shihadeh
2b56bba1f4 test fw query: add nissan
old-commit-hash: 5b098a1db5
2022-04-13 22:54:45 -07:00
Adeeb Shihadeh
60c3bb2da3 add mpld3 python pacakge (#24138)
* add mpld3 python pacakge

* move to dev

* fix for new pylint
old-commit-hash: 6013d733a3
2022-04-05 15:00:35 -07:00
Greg Hogan
d5ed366b69 script to read DTC status
old-commit-hash: 13080ee952
2022-04-04 18:15:44 -07:00
Adeeb Shihadeh
bd71c594a2 pylint: enforce indentation (W0311) (#24039)
* pylint: enforce indentation (W0311)

* few more
old-commit-hash: 8af20af66d
2022-03-24 23:23:29 -07:00
Adeeb Shihadeh
daf951f143 add table support
old-commit-hash: 4f8ff154f3
2022-03-10 17:54:13 -08:00
Adeeb Shihadeh
df812ad6a7 this is pretty nice now
old-commit-hash: bcf66c1271
2022-03-10 17:06:13 -08:00
Adeeb Shihadeh
0734322971 positional args are nicer
old-commit-hash: 2c0d68120f
2022-03-10 14:35:44 -08:00
Adeeb Shihadeh
8a682597ca can_print_changes improvements
old-commit-hash: 1680f1e251
2022-03-10 14:32:19 -08:00
Adeeb Shihadeh
505e2e370c real can table column header
old-commit-hash: ab8c4f0396
2022-03-07 17:21:07 -08:00
Greg Hogan
ff7419bf32 script to clear DTCs
old-commit-hash: de178ea79c
2022-02-22 16:15:39 -08:00
martinl
d4db9082db Subaru: add FW for Impreza Limited UDM 2017 (#23802)
* FPv2: Add Subaru Impreza Limited USM 2017

* test_fw_query_on_routes.py: add subaru support

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 412e43206e
2022-02-22 12:17:48 +01:00
Adeeb Shihadeh
41de03aa6e cabana for your terminal
old-commit-hash: 768bea48d0
2022-02-21 19:42:46 -08:00
Jason Young
844aa7395a VW MQB: EPS configuration tool (#23737)
* VW MQB: EPS configuration tool

* a bit more help text

* typo

* Update selfdrive/debug/vw_mqb_config.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Update selfdrive/debug/vw_mqb_config.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* better handling of vendor constants

* comment tweak

* more constant clarity

* move help text to argparse

* add parameterization parsing

* refactor param read, skip length byte

* touch up section headers

* removing; low value and acting weird

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 4416c21b1e
2022-02-10 13:57:12 -08:00
Adeeb Shihadeh
2e291cdddb profiler setup
old-commit-hash: 3305a6f5b9
2022-01-21 21:59:40 -08:00
Adeeb Shihadeh
69e4c76089 bringing the android to agnos
old-commit-hash: 1e955b33ac
2022-01-21 21:25:23 -08:00
Willem Melching
3dc68080d4 can_printer.py: default no ascii
old-commit-hash: 6d16b0c02b
2022-01-13 15:50:50 +01:00
Greg Hogan
70519b1fd6 hyundai enable radar points script cleanup (#23451)
old-commit-hash: a0eed0cdd2
2022-01-08 07:55:48 -08:00
Mr. V
81e2b1ee48 add supported FW version for Palisade 2022 (#23337)
old-commit-hash: 7c51b4da67
2022-01-03 19:52:07 +01:00
Adeeb Shihadeh
c036e64c86 MultiLogIterator: remove wraparound mode (#23360)
old-commit-hash: 92f194decc
2022-01-02 15:16:44 -08:00
Adeeb Shihadeh
0e3f1eae46 palanteer seems pretty cool
old-commit-hash: 4c7c2cc75d
2021-12-27 15:04:50 -08:00
Ewout ter Hoeven
f206ebd054 Pyupgrade 3.6: Update syntax with Python 3.6+ features (#23305)
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default

Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>

Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
old-commit-hash: 332f568a82
2021-12-24 11:18:39 -08:00
Adeeb Shihadeh
9522a54293 delete old scripts
old-commit-hash: ea82af14ca
2021-12-20 23:20:02 -08:00