Commit Graph

239 Commits

Author SHA1 Message Date
Adeeb Shihadeh
8abd24a15e ftrace profiling script
old-commit-hash: c8629a4b36b286972338fe92daced0ca63e04361
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: c007c7e68131ed7dc4220700fa1e889e526954f7
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: d2eef1955c777ef6110c7a74d2a9ca9e4e1d958c
2022-05-12 14:59:00 +02:00
Adeeb Shihadeh
ce48c81299 remove eon debug scripts
old-commit-hash: b16e612102558c6b94a0c1b7127596dab6f5b2d0
2022-05-05 19:42:18 -07:00
Keyvan Fatehi
576ae03e43 Fix spelling in dump.py help output (#24381)
old-commit-hash: 7b394510cb9e564803b70139eed0e6a07103d0c7
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: 049b163ea0494a21956d89d4cb2a527dcbd62c0c
2022-04-27 14:26:15 -07:00
Adeeb Shihadeh
75174c93d7 more verbose debug alerts (#24126)
old-commit-hash: 70987fd9d971ffd1a60b9c97835c838de21a764b
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: b8b15d5cf1d2507c89bbe0e3b1de1ff043d9078e
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: 5c48e7bc86a621dd35f4ff25da7a26ee506bac76
2022-04-18 17:55:23 -07:00
Willem Melching
7f623e4092 filter_log_message: support errorLogMessage from qlogs
old-commit-hash: f1ca848ff7c90e16cc2ea776324cb511d6d48c04
2022-04-15 11:06:28 -07:00
Adeeb Shihadeh
2569e85349 agl plugins work nicely on latest profiler
old-commit-hash: 1fa1c44342995d27ed9295429ac4a0506c7569a6
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: 52e5aa8409c0c5904b7ee34fd95498b1408d2fce
2022-04-14 16:37:09 -07:00
Adeeb Shihadeh
2b56bba1f4 test fw query: add nissan
old-commit-hash: 5b098a1db597ce44b2f6b33ecbc91f180140403a
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: 6013d733a3a68f3c7f423f8c164d073da3221ef3
2022-04-05 15:00:35 -07:00
Greg Hogan
d5ed366b69 script to read DTC status
old-commit-hash: 13080ee9522fa7fd0ea5dfec51f953162c74f159
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: 8af20af66ddaa6bc06d7f72f9134aa9afeed3ed8
2022-03-24 23:23:29 -07:00
Adeeb Shihadeh
daf951f143 add table support
old-commit-hash: 4f8ff154f322d249ef8e235abac27fb5d1500a1b
2022-03-10 17:54:13 -08:00
Adeeb Shihadeh
df812ad6a7 this is pretty nice now
old-commit-hash: bcf66c127155b9106449ae890a5b288290ff0035
2022-03-10 17:06:13 -08:00
Adeeb Shihadeh
0734322971 positional args are nicer
old-commit-hash: 2c0d68120f594888fddfe797f74def6676f8f46a
2022-03-10 14:35:44 -08:00
Adeeb Shihadeh
8a682597ca can_print_changes improvements
old-commit-hash: 1680f1e251b8feeff9f2b8a52cef1a19f6fedf48
2022-03-10 14:32:19 -08:00
Adeeb Shihadeh
505e2e370c real can table column header
old-commit-hash: ab8c4f03968671abcc77e1f8145643fb3a0a8cc7
2022-03-07 17:21:07 -08:00
Greg Hogan
ff7419bf32 script to clear DTCs
old-commit-hash: de178ea79ccb66f0ed15f0ea98e93068b2e41ca6
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: 412e43206e819193839eab5525fdb6358349856b
2022-02-22 12:17:48 +01:00
Adeeb Shihadeh
41de03aa6e cabana for your terminal
old-commit-hash: 768bea48d04f8f6e517db0458c1d979b00508c89
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: 4416c21b1e738ab7d04147c5ae52b5135e0cdb40
2022-02-10 13:57:12 -08:00
Adeeb Shihadeh
2e291cdddb profiler setup
old-commit-hash: 3305a6f5b9b5830a63033465e744d677c3933d3a
2022-01-21 21:59:40 -08:00
Adeeb Shihadeh
69e4c76089 bringing the android to agnos
old-commit-hash: 1e955b33ac73122d6311aa0c3df967e5257ed13c
2022-01-21 21:25:23 -08:00
Willem Melching
3dc68080d4 can_printer.py: default no ascii
old-commit-hash: 6d16b0c02bff72323df24dae929583478d34f8c1
2022-01-13 15:50:50 +01:00
Greg Hogan
70519b1fd6 hyundai enable radar points script cleanup (#23451)
old-commit-hash: a0eed0cdd23598fd8dcc34805cc83ed0fe515348
2022-01-08 07:55:48 -08:00
Mr. V
81e2b1ee48 add supported FW version for Palisade 2022 (#23337)
old-commit-hash: 7c51b4da677cf25e7a5d5ba6b838363f8ffefb4a
2022-01-03 19:52:07 +01:00
Adeeb Shihadeh
c036e64c86 MultiLogIterator: remove wraparound mode (#23360)
old-commit-hash: 92f194decc2bce39d6dd0dbabf39b2a9b1aa53e5
2022-01-02 15:16:44 -08:00
Adeeb Shihadeh
0e3f1eae46 palanteer seems pretty cool
old-commit-hash: 4c7c2cc75ddeb92483f95f327a3098cfaa8fc9df
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: 332f568a8241fba9459cb70c76840b9670e6993a
2021-12-24 11:18:39 -08:00
Adeeb Shihadeh
9522a54293 delete old scripts
old-commit-hash: ea82af14ca876c158637a234158694bc410803f6
2021-12-20 23:20:02 -08:00
Ewout ter Hoeven
a962365292 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>
old-commit-hash: 55390d273f36f49da3896e687ac5530f40c1d150
2021-12-16 14:58:17 +01:00
Adeeb Shihadeh
06a9b3448d alerts: escalate soft disable alert near disengagement (#23198)
* alerts: escalate soft disable alert if resulted in disengagement

* show 0.5s before disengagement
old-commit-hash: 8068df0b2a35eb8fcef809f4ce9a6cb7bfc75fdc
2021-12-11 17:07:37 -08:00
grekiki
9e4cc1f7ff 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>
old-commit-hash: 6951b3271d1770297cb6bd53878463035ec0bf43
2021-12-03 22:57:19 -08:00
Adeeb Shihadeh
dccb8b4010 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>
old-commit-hash: e679d05d9e98e267047c21c0b6b67fe9d61f8ed6
2021-11-30 19:47:33 -08:00
grekiki
3ab7943f97 Replace list by generator (#23077)
old-commit-hash: 91f87e367527c607724711914142851bf0ea7238
2021-11-30 14:15:42 +01:00
grekiki
5b2511162a replace list comprehensions with generators (#23037)
old-commit-hash: 68c1a666a03a381768673a1b29a73f9131f0ed62
2021-11-25 15:53:11 -08:00
Adeeb Shihadeh
76aed9c23b perfetto (#22998)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b51da61dc4401efadfe15b90ce65ab24c80cf9e0
2021-11-22 14:03:42 -08:00
Andrew
d9d7a55099 Genesis G70 2020 port (#22692)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2a6816b8935d3f4a863e42b37361c7ef6f104ddf
2021-11-18 20:45:32 -08:00
Dean Lee
3df1ea1433 set pandaType in debug scripts (#22897)
old-commit-hash: 6b20118fec281d88742a6c4b669eaca0bd3aac05
2021-11-13 11:54:29 -08:00
Adeeb Shihadeh
c142416931 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>
old-commit-hash: ed8e6f857ca45a1d814dd9a98ddf5c40c6d08c20
2021-11-12 15:04:57 -08:00
Greg Hogan
15a58247dd profiling: replace pyflame with py-spy (#22864)
* py-spy

* remove pyflame

* find process by name
old-commit-hash: caad4919ac74af8d4dd3aede20d3ba05e5e06c67
2021-11-10 23:27:10 -08:00
Willem Melching
c11eeb6c80 RobustLogReader that can recover corrupted bz2 files (#22835)
* LogReader with bzip2 recovery

* only rlogs

* add comment

* plotjuggler should also use robust logreader
old-commit-hash: 6d6f989b7f4f084ff2a1124aa4de05b90d7fc534
2021-11-10 16:41:00 +01:00
Jason Wen
03fcbc4366 hyundai_enable_radar_points: fix typo (#22724)
old-commit-hash: 257d2b447d33253dbcd95fb7e7778f5419d61516
2021-10-28 19:09:22 +02:00
Adeeb Shihadeh
55cc85096e count_events: handle missing logs
old-commit-hash: 4b4efead891e9863b0af9675eb0a1fa078964461
2021-10-25 10:25:23 -07:00
Adeeb Shihadeh
25cfa2b65a tici: affine loggerd to efficiency cores (#22581)
old-commit-hash: 84de248fa7cbee37ecb2fd6a9d4df50ba60a1e04
2021-10-18 13:21:24 -07:00
Adeeb Shihadeh
cf05d622e0 add some docs for selfdrive/debug
old-commit-hash: 112df19d384cad7ff8ce120072fc5a5958bdc286
2021-10-12 20:17:12 -07:00