Willem Melching
5c09e8e61b
use iterator to loop over first 1000 entries ( #2359 )
...
old-commit-hash: 47dfa52456
5 years ago
Adeeb Shihadeh
8abecea3db
fix pylint import error
...
old-commit-hash: 6073610cb0
5 years ago
Adeeb Shihadeh
e2ae5774b8
quick toyota EPS scale factor script
...
old-commit-hash: 82c112dad0
5 years ago
Willem Melching
839b6af9ce
Update 2020 Hyundai Palisade FW versions ( #2322 )
...
* add fw versions
* carParams is sometimes not in first segment
* Update can fingerprint
old-commit-hash: 0365db20d8
5 years ago
Adeeb Shihadeh
ea90a1e391
add offroad to cpu usage script
...
old-commit-hash: 38a23a55ec
5 years ago
Adeeb Shihadeh
747ca1d354
fix paths for waste3 debug script
...
old-commit-hash: 9060d3c87b
5 years ago
Adeeb Shihadeh
52ed05f68e
add ECU disable script from #1459
...
old-commit-hash: 98fedff6b1
5 years ago
Adeeb Shihadeh
864f32ce1b
quick lgtm fixes
...
old-commit-hash: 4acc82604d
5 years ago
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
5 years ago
Adeeb Shihadeh
7bd98df410
add android procs to cpu usage sript
...
old-commit-hash: 33ad9d67ea
5 years ago
Adeeb Shihadeh
0ce447e092
remove unused import in cycle_alerts
...
old-commit-hash: 8e24939613
5 years ago
Adeeb Shihadeh
0ae5e7403e
QT UI: sounds ( #2078 )
...
* move android into own dir
* fix name
* maybe this works? qt ui doesn't work on mac
* fix that
* pc sound works
* fix pc build
* lowercase
* that needs to be real_arch
* split into classes
* fix typo in lib
* Fix cycle alerts
* Add qt multimedia libs to install scripts
* Add ui/android folder
* Fix android build
* Raise exception if sound init fails
* add missing return
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: acd1bde496
5 years ago
Shane Smiskol
80adb33924
Show lane lines and path while using uiview.py ( #2104 )
...
* add modeld and required calibd procs to uiview to display lane lines when debugging
* send radarState with empty message to show model path
* make uiview.py executable
old-commit-hash: dfdbf6e416
5 years ago
Adeeb Shihadeh
8f2111b889
type hints for messaging ( #2061 )
...
* bump cereal
* fix bugs found by mypy
* bump cereal
old-commit-hash: 520c2676b6
5 years ago
Willem Melching
938ce91d02
Pigeon abstraction layer ( #1977 )
...
* pigeon abstraction layer
* Fix string literals
* more generic pigeon class
* add TTYpigon
* nicer tty error handling
* close tty fd on pigeon delete
* pigeon receive return std::string
* use sizeof
* max receive size to prevent infinite loop
* remove namespace
* add unistd include for usleep
* fix is pigeon
* Handle tty error in opening
* fix printing binary strings with dump.py
* fix pigeon build on macos
* Handle errors seperately
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 502cc665e0
5 years ago
Adeeb Shihadeh
51c3619f99
add locationd, paramsd, dmonitoringd to CPU usage script
...
old-commit-hash: 4658df7a66
5 years ago
Shane Smiskol
24ec522ef6
Add a minimal debugging tool to show the UI while device not in car ( #1937 )
...
* add a minimal uiview file with alias from selfdrive/ui
* make ui_debug executable
* minimize uiview.py; remove os and functions. the processes exit normally when ctrl+c'ing out of the loop
* violating E401 here, save 1 more line
* kill on exit
* forgot signal
* new record! 15 lines
* add comments and declare some common variables. don't need to redefine the messages every loop
old-commit-hash: 2e59349b2e
5 years ago
Willem Melching
591dcc26ee
skip 1st segment in debug replay
...
old-commit-hash: 74f95b8b26
5 years ago
Adeeb Shihadeh
d88134db74
default to a reasonable amount of segs in replay_drive_can.py
...
old-commit-hash: b17a6e8f31
5 years ago
Adeeb Shihadeh
b38c33cc47
Boardd loopback test ( #1840 )
...
* start boardd loopback test
* let's try this in CI
* fix jenkinsfile
* remove old
* rename
* check msgs
* should be reliable now
* send more
old-commit-hash: 3ab0b49656
5 years ago
Adeeb Shihadeh
1e6034aaf8
bump submodules
...
old-commit-hash: 491a02d5d6
5 years ago
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
5 years ago
Comma Device
46f4f3271d
fix linter
...
old-commit-hash: d4e8785355
5 years ago
Comma Device
e23dcec07d
bring back cycle_alerts.py
...
old-commit-hash: c3171e66b3
5 years ago
Willem Melching
ac40387318
debug script to track droppped frames ( #1749 )
...
old-commit-hash: 0681fc04ad
5 years ago
Willem Melching
9779b2cd8f
Big batch of FW versions ( #1682 )
...
* wip big batch of fw versions
* Add the rest
* And two more
old-commit-hash: 66ae0854b4
5 years ago
Adeeb
9027018368
Update Flake8 config ( #1624 )
...
* update flake8 checks
* add E502
* no whitespace warnings
* fix violations
* no W391
Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a
5 years ago
Willem Melching
dbdbef72d6
vehicle model types ( #1631 )
...
old-commit-hash: 2400417084
5 years ago
Willem Melching
a56e2b01f8
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
old-commit-hash: 843a64c72f
5 years ago
Adeeb Shihadeh
8b3418b0f9
enable flake8 E251: unexpected spaces around keyword / parameter equals
...
old-commit-hash: ebed2d1dcc
5 years ago
Adeeb Shihadeh
9823f1164c
enable flake8 E303: too many blank lines
...
old-commit-hash: f3dcf861c7
5 years ago
Adeeb Shihadeh
68a3061c9d
enable E261 in flake8: two spaces before inline comment
...
old-commit-hash: 27754a277c
5 years ago
Adeeb Shihadeh
be0b43f339
enable flake8 E231: missing whitespace after comma
...
old-commit-hash: efd5dffb1e
5 years ago
Adeeb
7965569766
Flake8 E22X ( #1607 )
...
* e221
* e225
* bump opendbc
old-commit-hash: 6051061ff8
5 years ago
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
5 years ago
Willem Melching
2b60ee9531
Run mypy commit hook ( #1591 )
...
* run mypy commit hook
* fix mypy errors
old-commit-hash: 3d08dcc3b2
5 years ago
Willem Melching
4022d92155
make pre-commit pass without xx present
...
old-commit-hash: bee15f8abe
5 years ago
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
5 years ago
Willem Melching
b1a73d69ea
add simple script to print controlsd alive and valid
...
old-commit-hash: e66c246f34
5 years ago
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
5 years ago
Adeeb
64b69bda50
LGTM fixes ( #1480 )
...
old-commit-hash: 008700a6b3
5 years ago
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
5 years ago
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
5 years ago
Willem Melching
f135b7d4df
remove more unused debug scripts
...
old-commit-hash: cbef7b3e71
5 years ago
Willem Melching
2325580259
msgq is done, messaging bechmarks can go
...
old-commit-hash: 2d944e4042
5 years ago
Willem Melching
deecaf4b45
fake processes that are not used
...
old-commit-hash: ca690e6ff9
5 years ago
Willem Melching
17d28e3ffc
We dont need toyota debug folder
...
old-commit-hash: aa84d05c6c
5 years ago
Willem Melching
afb2f5bcb1
move sensor bootloop script
...
old-commit-hash: 90eb7aadf2
5 years ago
Willem Melching
738727770e
that is not a test
...
old-commit-hash: 035d461fdf
5 years ago
George Hotz
376c18b3b2
delete more unused, now under 40k lines of python. framereader needs to be ported to C++
...
old-commit-hash: abad49110e
5 years ago