Commit Graph

218 Commits

Author SHA1 Message Date
Willem Melching
fd63de71f0 remove debug print 2022-05-18 12:29:24 +02:00
Willem Melching
194e5fdf1c make normal logreader more robust (#24577) 2022-05-18 12:21:01 +02:00
Adeeb Shihadeh
0b1f6e3620 show which cameras are malfunctioning (#24558) 2022-05-16 22:01:04 -07:00
Adeeb Shihadeh
b1858df00e improved alert verbosity (#24434)
* improved alert verbosity

* better testing script

* better description

* speed diff

* touch ups

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

* git rebase is utterly worthless

* fix header width
2022-05-12 15:09:37 +02:00
Dylan Herman
d2eef1955c 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>
2022-05-12 14:59:00 +02:00
Adeeb Shihadeh
b16e612102 remove eon debug scripts 2022-05-05 19:42:18 -07:00
Keyvan Fatehi
7b394510cb Fix spelling in dump.py help output (#24381) 2022-04-29 20:13:44 -07:00
grekiki
049b163ea0 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>
2022-04-27 14:26:15 -07:00
Adeeb Shihadeh
70987fd9d9 more verbose debug alerts (#24126) 2022-04-22 16:12:54 -07:00
grekiki
b8b15d5cf1 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>
2022-04-21 18:27:45 +02:00
Adeeb Shihadeh
5c48e7bc86 remove comma two support (#24248)
* remove comma two support

* cleanup release files

* little more

* more libs

* no more gralloc

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

* write carparams
2022-04-14 16:37:09 -07:00
Adeeb Shihadeh
5b098a1db5 test fw query: add nissan 2022-04-13 22:54:45 -07:00
Adeeb Shihadeh
6013d733a3 add mpld3 python pacakge (#24138)
* add mpld3 python pacakge

* move to dev

* fix for new pylint
2022-04-05 15:00:35 -07:00
Greg Hogan
13080ee952 script to read DTC status 2022-04-04 18:15:44 -07:00
Adeeb Shihadeh
8af20af66d pylint: enforce indentation (W0311) (#24039)
* pylint: enforce indentation (W0311)

* few more
2022-03-24 23:23:29 -07:00
Adeeb Shihadeh
4f8ff154f3 add table support 2022-03-10 17:54:13 -08:00
Adeeb Shihadeh
bcf66c1271 this is pretty nice now 2022-03-10 17:06:13 -08:00
Adeeb Shihadeh
2c0d68120f positional args are nicer 2022-03-10 14:35:44 -08:00
Adeeb Shihadeh
1680f1e251 can_print_changes improvements 2022-03-10 14:32:19 -08:00
Adeeb Shihadeh
ab8c4f0396 real can table column header 2022-03-07 17:21:07 -08:00
Greg Hogan
de178ea79c script to clear DTCs 2022-02-22 16:15:39 -08:00
martinl
412e43206e 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>
2022-02-22 12:17:48 +01:00
Adeeb Shihadeh
768bea48d0 cabana for your terminal 2022-02-21 19:42:46 -08:00
Jason Young
4416c21b1e 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>
2022-02-10 13:57:12 -08:00
Adeeb Shihadeh
3305a6f5b9 profiler setup 2022-01-21 21:59:40 -08:00
Adeeb Shihadeh
1e955b33ac bringing the android to agnos 2022-01-21 21:25:23 -08:00
Willem Melching
6d16b0c02b can_printer.py: default no ascii 2022-01-13 15:50:50 +01:00
Greg Hogan
a0eed0cdd2 hyundai enable radar points script cleanup (#23451) 2022-01-08 07:55:48 -08:00
Mr. V
7c51b4da67 add supported FW version for Palisade 2022 (#23337) 2022-01-03 19:52:07 +01:00
Adeeb Shihadeh
92f194decc MultiLogIterator: remove wraparound mode (#23360) 2022-01-02 15:16:44 -08:00
Adeeb Shihadeh
4c7c2cc75d palanteer seems pretty cool 2021-12-27 15:04:50 -08:00
Ewout ter Hoeven
332f568a82 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>
2021-12-24 11:18:39 -08:00
Adeeb Shihadeh
ea82af14ca delete old scripts 2021-12-20 23:20:02 -08:00
Ewout ter Hoeven
55390d273f Convert format strings strings to f-strings (#23241)
* Convert all text strings to f-strings

Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.

Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.

F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale

* revert pyextra changes

* revert ublox.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-12-16 14:58:17 +01:00
Adeeb Shihadeh
8068df0b2a alerts: escalate soft disable alert near disengagement (#23198)
* alerts: escalate soft disable alert if resulted in disengagement

* show 0.5s before disengagement
2021-12-11 17:07:37 -08:00
grekiki
6951b3271d Python: Replace more lists with generators (#23116)
* Replace lists with generators v2

* Replace set with {}

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Replace more set() with {}

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-12-03 22:57:19 -08:00
Adeeb Shihadeh
e679d05d9e New sounds (#22652)
* new engage/disengage + amp config

* first family

* cleanup audible alerts

* tici isn't special

* fix up debug cycle alerts

* these were better

* extend range

* use distracted sound

* log scaling

* getting closer

* slightly louder

* prompt

* update tests

* update refs

* fix c2 test

* resolve todo

* adjust tolerance

* revert for now

* should work

Co-authored-by: Comma Device <device@comma.ai>
2021-11-30 19:47:33 -08:00
grekiki
91f87e3675 Replace list by generator (#23077) 2021-11-30 14:15:42 +01:00
grekiki
68c1a666a0 replace list comprehensions with generators (#23037) 2021-11-25 15:53:11 -08:00
Adeeb Shihadeh
b51da61dc4 perfetto (#22998)
Co-authored-by: Comma Device <device@comma.ai>
2021-11-22 14:03:42 -08:00
Andrew
2a6816b893 Genesis G70 2020 port (#22692)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-18 20:45:32 -08:00
Dean Lee
6b20118fec set pandaType in debug scripts (#22897) 2021-11-13 11:54:29 -08:00
Adeeb Shihadeh
ed8e6f857c soundd: configure as persistent process (#22878)
* soundd: configure as persistent process

* update c2 test

* fix that

* little more

Co-authored-by: Comma Device <device@comma.ai>
2021-11-12 15:04:57 -08:00
Greg Hogan
caad4919ac profiling: replace pyflame with py-spy (#22864)
* py-spy

* remove pyflame

* find process by name
2021-11-10 23:27:10 -08:00