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
Adeeb Shihadeh
ffb5cc5882
remove old can replay script
...
old-commit-hash: bd79e7f023
2021-09-02 16:56:13 -07:00
Adeeb Shihadeh
f0fcb68bb9
fix up can replay script
...
old-commit-hash: fd81a5556b
2021-08-18 14:06:06 -07:00
arfy slowy
63b3d6024b
fix: spelling typos ( #21861 )
...
* fix: typo spelling grammar
* revert
* Update selfdrive/locationd/calibrationd.py
* more revert
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: d74def61f8
2021-08-05 12:05:49 -07:00
Willem Melching
a5038ef432
qlog_size.py: print size
...
old-commit-hash: ee39e7ba18
2021-07-15 12:36:03 +02:00
eFini
777b84a064
two minor bug fixes ( #21134 )
...
old-commit-hash: 5c450026ef
2021-06-04 21:20:02 -07:00
Adeeb Shihadeh
fb4cba198d
add ignition cycling to can replay script
...
old-commit-hash: 4dec92f273
2021-05-22 14:14:48 -07:00
George Hotz
59fb5c6a72
allow core voltage setting
...
old-commit-hash: 36d7a86579
2021-04-22 19:42:32 -07:00
George Hotz
fdb8e5683c
core voltage sweep
...
old-commit-hash: 4a710bfc16
2021-04-22 17:22:31 -07:00
George Hotz
74b86a8938
script to do voltage sweep
...
old-commit-hash: a1fb21e066
2021-04-22 17:07:31 -07:00
Willem Melching
1d79459667
Remove panda set power functions ( #20712 )
...
* remove panda set power functions
* removed
old-commit-hash: 34328ba305
2021-04-20 15:31:19 +02:00
Willem Melching
ee0e80a6d4
Fuzzy match on ECU FW versions ( #20687 )
...
* Fuzzy match on 3+ ECUs
* reuse dict
* exclude some shared ecus to be sure
* show alert for fuzzy match
* use title case
* require community toggle
* refactor
* do both exact and fuzzy in test script
* update test script
* add fuzz test and lower matches to >= 2
* strip alert length
* sort mismatches
* add fw tests to test_startup
* bump cereal
old-commit-hash: e4f73fbda5
2021-04-20 12:00:36 +02:00
Willem Melching
841fa399d1
run paramsd: sort messages
...
old-commit-hash: da5f0c5332
2021-03-26 17:15:55 +01:00
Willem Melching
f3863ae6e1
add debug script to run paramsd on route
...
old-commit-hash: c0e3e2ba1b
2021-03-26 17:06:41 +01:00
Willem Melching
1cc9b4481d
add script to show rlog/qlog breakdown
...
old-commit-hash: 526d0c3d53
2021-02-23 15:36:46 +01:00
Adeeb Shihadeh
05eb44115e
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65ebd01abfa8493ae12c9e6b14f7ada976.
* panda state
* camera stuff
* start deg
* most is building
* builds
* planner + controls run
* fix up paramsd
* cleanup
* process replay passes
* fix webcam build
* camerad
* no more frame
* thermald
* ui
* paramsd
* camera replay
* fix long tests
* fix camerad tests
* maxSteeringAngle
* bump cereal
* more frame
* cereal master
old-commit-hash: 312b681a46
2021-02-16 21:39:32 -08:00
Adeeb Shihadeh
966945880b
Cereal cleanup ( #20003 )
...
* start cleanup
* fan speed
* cleanup dm
* fix cereal
* hwType -> pandaType
* update refs
* update refs
* bump cereal
* freeSpacePercent
* cereal master
old-commit-hash: 000bd226aa
2021-02-03 19:57:30 -08:00
Adeeb Shihadeh
dbc2971dba
fix static analysis checks after mypy update
...
old-commit-hash: 229395e15b
2021-01-30 16:53:48 -08:00
Comma Device
dbb83cfdef
replay improvements for testing closet
...
old-commit-hash: 523a73774a
2021-01-16 01:03:10 +00:00
Adeeb Shihadeh
d66a310f3e
fix import error
...
old-commit-hash: 413e0fa40a
2021-01-14 18:02:13 -08:00
Adeeb Shihadeh
0e78d18950
better can replay script
...
old-commit-hash: e6478c6b35
2021-01-14 17:49:17 -08:00
Adeeb Shihadeh
df6abf988e
make fingerprint script nice
...
old-commit-hash: b1a4ec8135
2020-12-08 13:39:22 -08:00
Adeeb Shihadeh
61fa53120d
fix fingerprint script
...
old-commit-hash: 9a9e4ba45e
2020-10-29 13:56:58 -07:00
Adeeb Shihadeh
747ca1d354
fix paths for waste3 debug script
...
old-commit-hash: 9060d3c87b
2020-09-29 15:51:58 -07:00
Adeeb Shihadeh
2f8213f997
rt debug scripts ( #2165 )
...
* rt debug scripts
* bigger buffer
* cleanup
* move to internal
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: ebab660622
2020-09-16 17:42:37 -07:00
Adeeb Shihadeh
8f2111b889
type hints for messaging ( #2061 )
...
* bump cereal
* fix bugs found by mypy
* bump cereal
old-commit-hash: 520c2676b6
2020-08-23 00:33:19 -07:00
Willem Melching
591dcc26ee
skip 1st segment in debug replay
...
old-commit-hash: 74f95b8b26
2020-07-23 17:56:36 +02:00
Adeeb Shihadeh
d88134db74
default to a reasonable amount of segs in replay_drive_can.py
...
old-commit-hash: b17a6e8f31
2020-07-10 17:58:04 -07:00
Adeeb Shihadeh
4c19a49586
Fix some alert sounds not repeating ( #1763 )
...
* fix sounds not repeating
* fix PC build
* 3 loop
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: af22b282ff
2020-06-22 19:22:02 -07:00
Willem Melching
ac40387318
debug script to track droppped frames ( #1749 )
...
old-commit-hash: 0681fc04ad
2020-06-19 16:56:56 -07:00
Willem Melching
dbdbef72d6
vehicle model types ( #1631 )
...
old-commit-hash: 2400417084
2020-06-03 13:47:47 -07:00
Willem Melching
a56e2b01f8
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
old-commit-hash: 843a64c72f
2020-06-02 16:29:32 -07:00
Adeeb Shihadeh
9823f1164c
enable flake8 E303: too many blank lines
...
old-commit-hash: f3dcf861c7
2020-05-31 17:21:11 -07:00
Adeeb Shihadeh
68a3061c9d
enable E261 in flake8: two spaces before inline comment
...
old-commit-hash: 27754a277c
2020-05-31 14:07:29 -07:00
Adeeb Shihadeh
be0b43f339
enable flake8 E231: missing whitespace after comma
...
old-commit-hash: efd5dffb1e
2020-05-31 12:49:11 -07:00
Willem Melching
2ac27def5a
Running pre-commit in CI ( #1590 )
...
* Running pre-commit in CI
* fix dockerfile syntax
* dont run on submodule repo folders
* Fix some import errors in ci
* more stuff
* That should be the last one
old-commit-hash: ba2ac1207a
2020-05-28 15:40:48 -07:00
Willem Melching
2b60ee9531
Run mypy commit hook ( #1591 )
...
* run mypy commit hook
* fix mypy errors
old-commit-hash: 3d08dcc3b2
2020-05-28 15:05:04 -07:00
Willem Melching
4022d92155
make pre-commit pass without xx present
...
old-commit-hash: bee15f8abe
2020-05-28 13:20:28 -07:00
Willem Melching
c0866d9edb
pre-commit pylint ( #1580 )
...
* "The commit-hook project sounds interesting though. I would definitely merge something that runs flake8 and pylint on the modified files!"
- pd0wm, https://github.com/commaai/openpilot/pull/1575#issuecomment-634974344
* add pylint to pre-commit and make everything pass
* Remove uncommented stuff
Co-authored-by: J <user@4800.lan >
old-commit-hash: bd06434243
2020-05-27 20:00:14 -07:00
Willem Melching
b1a73d69ea
add simple script to print controlsd alive and valid
...
old-commit-hash: e66c246f34
2020-05-14 20:16:24 -07:00
Jason Young
53fc3f1e7e
Fix hardcoded path in sensor test script ( #1481 )
...
* Fix hardcoded path to sensor test script
* Rename the other place too
old-commit-hash: 09d465013c
2020-05-09 22:17:24 -07:00
George Hotz
d47b2ef576
More LGTM fixups ( #1457 )
...
* exclude lib dirs, fix 3 cpp errors
* fix more alerts, exclude mkvparse
Co-authored-by: George Hotz <geohot@gmail.com >
old-commit-hash: e568d3cadc
2020-05-02 20:00:41 -07:00
George Hotz
6fbcde48e5
Using lgtm.com and fixing found alerts ( #1452 )
...
* lgtm in readme, and mac nui fixes
* call super inits in radars
* unused imports, dup lines
* more radars, more unused imports
* pass CP into RadarInterfaceBase
* more fixups
* unused imports
* delete unused lines
* ugh, new unused import
Co-authored-by: George Hotz <geohot@gmail.com >
old-commit-hash: 1295cfe06c
2020-05-02 12:07:34 -07:00
Willem Melching
f135b7d4df
remove more unused debug scripts
...
old-commit-hash: cbef7b3e71
2020-04-24 14:21:41 -07:00
Willem Melching
2325580259
msgq is done, messaging bechmarks can go
...
old-commit-hash: 2d944e4042
2020-04-24 14:12:41 -07:00
Willem Melching
deecaf4b45
fake processes that are not used
...
old-commit-hash: ca690e6ff9
2020-04-24 14:12:14 -07:00
Willem Melching
17d28e3ffc
We dont need toyota debug folder
...
old-commit-hash: aa84d05c6c
2020-04-24 14:10:56 -07:00
Willem Melching
afb2f5bcb1
move sensor bootloop script
...
old-commit-hash: 90eb7aadf2
2020-04-24 14:03:55 -07:00
Willem Melching
738727770e
that is not a test
...
old-commit-hash: 035d461fdf
2020-04-24 14:02:35 -07:00
George Hotz
376c18b3b2
delete more unused, now under 40k lines of python. framereader needs to be ported to C++
...
old-commit-hash: abad49110e
2020-04-24 13:45:34 -07:00