Robbe Derks
91987f38d4
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
4 years ago
Adeeb Shihadeh
bd79e7f023
remove old can replay script
4 years ago
Adeeb Shihadeh
fd81a5556b
fix up can replay script
4 years ago
arfy slowy
d74def61f8
fix: spelling typos ( #21861 )
...
* fix: typo spelling grammar
* revert
* Update selfdrive/locationd/calibrationd.py
* more revert
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Willem Melching
ee39e7ba18
qlog_size.py: print size
4 years ago
eFini
5c450026ef
two minor bug fixes ( #21134 )
4 years ago
Adeeb Shihadeh
4dec92f273
add ignition cycling to can replay script
4 years ago
George Hotz
36d7a86579
allow core voltage setting
4 years ago
George Hotz
4a710bfc16
core voltage sweep
4 years ago
George Hotz
a1fb21e066
script to do voltage sweep
4 years ago
Willem Melching
34328ba305
Remove panda set power functions ( #20712 )
...
* remove panda set power functions
* removed
4 years ago
Willem Melching
e4f73fbda5
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
4 years ago
Willem Melching
da5f0c5332
run paramsd: sort messages
4 years ago
Willem Melching
c0e3e2ba1b
add debug script to run paramsd on route
4 years ago
Willem Melching
526d0c3d53
add script to show rlog/qlog breakdown
4 years ago
Adeeb Shihadeh
312b681a46
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65eb
.
* 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
4 years ago
Adeeb Shihadeh
000bd226aa
Cereal cleanup ( #20003 )
...
* start cleanup
* fan speed
* cleanup dm
* fix cereal
* hwType -> pandaType
* update refs
* update refs
* bump cereal
* freeSpacePercent
* cereal master
4 years ago
Adeeb Shihadeh
229395e15b
fix static analysis checks after mypy update
4 years ago
Comma Device
523a73774a
replay improvements for testing closet
4 years ago
Adeeb Shihadeh
413e0fa40a
fix import error
4 years ago
Adeeb Shihadeh
e6478c6b35
better can replay script
4 years ago
Adeeb Shihadeh
b1a4ec8135
make fingerprint script nice
4 years ago
Adeeb Shihadeh
9a9e4ba45e
fix fingerprint script
5 years ago
Adeeb Shihadeh
9060d3c87b
fix paths for waste3 debug script
5 years ago
Adeeb Shihadeh
ebab660622
rt debug scripts ( #2165 )
...
* rt debug scripts
* bigger buffer
* cleanup
* move to internal
Co-authored-by: Comma Device <device@comma.ai>
5 years ago
Adeeb Shihadeh
520c2676b6
type hints for messaging ( #2061 )
...
* bump cereal
* fix bugs found by mypy
* bump cereal
5 years ago
Willem Melching
74f95b8b26
skip 1st segment in debug replay
5 years ago
Adeeb Shihadeh
b17a6e8f31
default to a reasonable amount of segs in replay_drive_can.py
5 years ago
Adeeb Shihadeh
af22b282ff
Fix some alert sounds not repeating ( #1763 )
...
* fix sounds not repeating
* fix PC build
* 3 loop
Co-authored-by: Comma Device <device@comma.ai>
5 years ago
Willem Melching
0681fc04ad
debug script to track droppped frames ( #1749 )
5 years ago
Willem Melching
2400417084
vehicle model types ( #1631 )
5 years ago
Willem Melching
843a64c72f
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
5 years ago
Adeeb Shihadeh
f3dcf861c7
enable flake8 E303: too many blank lines
5 years ago
Adeeb Shihadeh
27754a277c
enable E261 in flake8: two spaces before inline comment
5 years ago
Adeeb Shihadeh
efd5dffb1e
enable flake8 E231: missing whitespace after comma
5 years ago
Willem Melching
ba2ac1207a
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
5 years ago
Willem Melching
3d08dcc3b2
Run mypy commit hook ( #1591 )
...
* run mypy commit hook
* fix mypy errors
5 years ago
Willem Melching
bee15f8abe
make pre-commit pass without xx present
5 years ago
Willem Melching
bd06434243
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>
5 years ago
Willem Melching
e66c246f34
add simple script to print controlsd alive and valid
5 years ago
Jason Young
09d465013c
Fix hardcoded path in sensor test script ( #1481 )
...
* Fix hardcoded path to sensor test script
* Rename the other place too
5 years ago
George Hotz
e568d3cadc
More LGTM fixups ( #1457 )
...
* exclude lib dirs, fix 3 cpp errors
* fix more alerts, exclude mkvparse
Co-authored-by: George Hotz <geohot@gmail.com>
5 years ago
George Hotz
1295cfe06c
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>
5 years ago
Willem Melching
cbef7b3e71
remove more unused debug scripts
5 years ago
Willem Melching
2d944e4042
msgq is done, messaging bechmarks can go
5 years ago
Willem Melching
ca690e6ff9
fake processes that are not used
5 years ago
Willem Melching
aa84d05c6c
We dont need toyota debug folder
5 years ago
Willem Melching
90eb7aadf2
move sensor bootloop script
5 years ago
Willem Melching
035d461fdf
that is not a test
5 years ago
George Hotz
abad49110e
delete more unused, now under 40k lines of python. framereader needs to be ported to C++
5 years ago