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
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: 55390d273f
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: 8068df0b2a
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: 6951b3271d
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: e679d05d9e
2021-11-30 19:47:33 -08:00
grekiki
3ab7943f97
Replace list by generator ( #23077 )
...
old-commit-hash: 91f87e3675
2021-11-30 14:15:42 +01:00
grekiki
5b2511162a
replace list comprehensions with generators ( #23037 )
...
old-commit-hash: 68c1a666a0
2021-11-25 15:53:11 -08:00
Adeeb Shihadeh
76aed9c23b
perfetto ( #22998 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: b51da61dc4
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: 2a6816b893
2021-11-18 20:45:32 -08:00
Dean Lee
3df1ea1433
set pandaType in debug scripts ( #22897 )
...
old-commit-hash: 6b20118fec
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: ed8e6f857c
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: caad4919ac
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: 6d6f989b7f
2021-11-10 16:41:00 +01:00
Jason Wen
03fcbc4366
hyundai_enable_radar_points: fix typo ( #22724 )
...
old-commit-hash: 257d2b447d
2021-10-28 19:09:22 +02:00
Adeeb Shihadeh
55cc85096e
count_events: handle missing logs
...
old-commit-hash: 4b4efead89
2021-10-25 10:25:23 -07:00
Adeeb Shihadeh
25cfa2b65a
tici: affine loggerd to efficiency cores ( #22581 )
...
old-commit-hash: 84de248fa7
2021-10-18 13:21:24 -07:00
Adeeb Shihadeh
cf05d622e0
add some docs for selfdrive/debug
...
old-commit-hash: 112df19d38
2021-10-12 20:17:12 -07:00
Dean Lee
06a1dd7598
c++ replay: support local routes ( #22288 )
...
* support local route
* kind of works
* works
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 43a846843f
2021-10-12 00:51:22 -07:00
Adeeb Shihadeh
7badcdffad
set arg types
...
old-commit-hash: 2f2b9116d4
2021-10-11 20:41:28 -07:00
Adeeb Shihadeh
668c524d4d
fix decode errors in can printer
...
old-commit-hash: 2456296858
2021-10-11 20:06:00 -07:00
Adeeb Shihadeh
ff6777bc42
show ascii in can printer
...
old-commit-hash: 14a1441cbb
2021-10-11 20:03:35 -07:00
Adeeb Shihadeh
3f9ad18811
add arg parser to can printer
...
old-commit-hash: 683ddeebc8
2021-10-11 19:47:49 -07:00
Robbe Derks
58c99158a1
Make pandaState and safetyMode a list ( #22454 )
...
* wip: move to pandaStates
* bump cereal
* wip: SafetyMode struct
* move to safetyMode
* fix typo
* this can be None
* fix potential empty pandaStates list
* fix thermald
* fix controlsd
* rename safetyModes to safetyConfigs
* update process_replay
* fix test_models
* bump cereal
old-commit-hash: 91987f38d4
2021-10-08 17:54:34 +02:00
sshane
e68f7a8bf7
Show model leads with uiview ( #22303 )
...
old-commit-hash: 1e4b61b393
2021-09-21 16:01:10 -07:00
Cruise Brantley
3628c92892
Radar tracks for Santa Fe ( #22270 )
...
* Radar tracks for Santa Fe
* add radar DBC
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 75730c28ca
2021-09-21 15:04:14 -07:00
Kyle Greenlaw
b7ceb31c26
Add Hyundai Sonata Hybrid Radar FW for OP Long support ( #22259 )
...
* add mondo dbc to Sonata Hybrid
* 2021 Sonata Hybrid radar FW
* Add Sonata Hybrid to openpilotLongitudinalControl
* Whoops... ,
old-commit-hash: 839147a333
2021-09-17 19:12:54 -07:00
Greg Hogan
e7ad7b91e6
improve instructions for enabling hyundai radar tracks
...
old-commit-hash: 9db5edae72
2021-09-16 00:15:56 -07:00
Scott Adair
ed25cf30f4
Update FW Version for the 2020 Palisade ( #22245 )
...
Confirmed the FW version for my 2020 Palisade. Updated and executed the script without issue.
old-commit-hash: 3be48c5cde
2021-09-15 20:27:33 -07:00
Willem Melching
4e529f843b
Hyundai radar parser ( #22241 )
...
* add radar parser for 0x5XX range
* fix speed
* enable based of fingerprint
* fix speed scale
* use proper signal names
* add to release files
* hyundai: script to enable radar points
* typo
* add comment
* fix tests
* cleanup
* add note about persistent
* Update selfdrive/car/hyundai/radar_interface.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* fix bugs in hyundai enable radar points script
* accidentally removed comment
* add some other cars
* add cosine to dRel
* fw versions do not match openpilot
* bump opendbc
* include state 4
Co-authored-by: Greg Hogan <gregjhogan@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 6fd980c63e
2021-09-15 15:43:01 -07:00
Willem Melching
a8ce1288fd
Hyundai longitudinal prerequisites ( #22121 )
...
* panda
* bring over changes
* dont check car model
* remove comment
* fix typo
* more stuff gated behind long
* not
* not used
* gate that too
* try honda tuning
* clip accel values
* fix up merge
* fix stopping
* add retry logic around knockout
* increase timeout
* keep flipping lead bit
* true for now
* less tuning
* update comment
* 0.1 s is fine now
* merge honda and hyundai knockout
* more lead fields
* another obj bit
* increase timeout
* fix stopping flag
* only lag compensate for braking
* no lead
* less tuning
* only do knockout if not readonly
* try controlling using jerk
* tuning
* try higher stopping rate
* set stopping flag at higher speed
* clip upper jerk when stopping
* remove comments
* tester present 1hz
* use positive start accel
* 1.0 to maybe improve low speed stuff
* no point going over 0
* bump panda
* bump panda
* revert that change
* update ref
old-commit-hash: c4bac6bd68
2021-09-13 22:03:08 -07:00
Adeeb Shihadeh
b3893511db
fix live_cpu_and_temp.py for c3
...
old-commit-hash: c4e9f4de99
2021-09-13 20:27:53 -07:00
Adeeb Shihadeh
0c29c7928b
check_timings.py: start printing immediately
...
old-commit-hash: a7cc34fd77
2021-09-13 20:08:43 -07:00