Adeeb Shihadeh
4096f86e21
lgtm fixes ( #19610 )
...
* pass matrices by reference
* suppress that
* destructor
* that's wrong, suppress it
4 years ago
vanillagorillaa
98ca428844
Update script usage ( #19571 )
4 years ago
Adeeb Shihadeh
48306360a1
adb over smays
4 years ago
Adeeb Shihadeh
b1a4ec8135
make fingerprint script nice
4 years ago
Shane Smiskol
460e4dc3b0
Fix toyota_eps_factor.py script ( #2647 )
...
* fix toyota_eps_factor.py script, don't use samples where wheel is touched
* caps mistake
* Hope this is correct, don't use CS.steeringPressed
* revert sorting now that we don't use CS
4 years ago
Willem Melching
6e476e0667
Add sonata firmware version
5 years ago
Jon Ander Oribe
887d67eb8d
Simple improvements for quality gate ( #2517 )
...
* Improvements for quality gate
* Update test_xattr.py
* Update test_mpc_wobble.py
* python
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
5 years ago
Adeeb Shihadeh
47c21f10f5
grey panda is unsupported ( #2458 )
5 years ago
Adeeb Shihadeh
9a9e4ba45e
fix fingerprint script
5 years ago
Willem Melching
47dfa52456
use iterator to loop over first 1000 entries ( #2359 )
5 years ago
Adeeb Shihadeh
6073610cb0
fix pylint import error
5 years ago
Adeeb Shihadeh
82c112dad0
quick toyota EPS scale factor script
5 years ago
Willem Melching
0365db20d8
Update 2020 Hyundai Palisade FW versions ( #2322 )
...
* add fw versions
* carParams is sometimes not in first segment
* Update can fingerprint
5 years ago
Adeeb Shihadeh
38a23a55ec
add offroad to cpu usage script
5 years ago
Adeeb Shihadeh
9060d3c87b
fix paths for waste3 debug script
5 years ago
Adeeb Shihadeh
98fedff6b1
add ECU disable script from #1459
5 years ago
Adeeb Shihadeh
4acc82604d
quick lgtm fixes
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
33ad9d67ea
add android procs to cpu usage sript
5 years ago
Adeeb Shihadeh
8e24939613
remove unused import in cycle_alerts
5 years ago
Adeeb Shihadeh
acd1bde496
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>
5 years ago
Shane Smiskol
dfdbf6e416
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
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
502cc665e0
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>
5 years ago
Adeeb Shihadeh
4658df7a66
add locationd, paramsd, dmonitoringd to CPU usage script
5 years ago
Shane Smiskol
2e59349b2e
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
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
3ab0b49656
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
5 years ago
Adeeb Shihadeh
491a02d5d6
bump submodules
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
Comma Device
d4e8785355
fix linter
5 years ago
Comma Device
c3171e66b3
bring back cycle_alerts.py
5 years ago
Willem Melching
0681fc04ad
debug script to track droppped frames ( #1749 )
5 years ago
Willem Melching
66ae0854b4
Big batch of FW versions ( #1682 )
...
* wip big batch of fw versions
* Add the rest
* And two more
5 years ago
Adeeb
367155168a
Update Flake8 config ( #1624 )
...
* update flake8 checks
* add E502
* no whitespace warnings
* fix violations
* no W391
Co-authored-by: Jason Young <jason@comma.ai>
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
ebed2d1dcc
enable flake8 E251: unexpected spaces around keyword / parameter equals
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
Adeeb
6051061ff8
Flake8 E22X ( #1607 )
...
* e221
* e225
* bump opendbc
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
Adeeb
008700a6b3
LGTM fixes ( #1480 )
5 years ago