Adeeb Shihadeh
9a9e4ba45e
fix fingerprint script
2020-10-29 13:56:58 -07:00
Adeeb Shihadeh
9060d3c87b
fix paths for waste3 debug script
2020-09-29 15:51:58 -07:00
Adeeb Shihadeh
ebab660622
rt debug scripts ( #2165 )
...
* rt debug scripts
* bigger buffer
* cleanup
* move to internal
Co-authored-by: Comma Device <device@comma.ai>
2020-09-16 17:42:37 -07:00
Adeeb Shihadeh
520c2676b6
type hints for messaging ( #2061 )
...
* bump cereal
* fix bugs found by mypy
* bump cereal
2020-08-23 00:33:19 -07:00
Willem Melching
74f95b8b26
skip 1st segment in debug replay
2020-07-23 17:56:36 +02:00
Adeeb Shihadeh
b17a6e8f31
default to a reasonable amount of segs in replay_drive_can.py
2020-07-10 17:58:04 -07:00
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>
2020-06-22 19:22:02 -07:00
Willem Melching
0681fc04ad
debug script to track droppped frames ( #1749 )
2020-06-19 16:56:56 -07:00
Willem Melching
2400417084
vehicle model types ( #1631 )
2020-06-03 13:47:47 -07:00
Willem Melching
843a64c72f
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
2020-06-02 16:29:32 -07:00
Adeeb Shihadeh
f3dcf861c7
enable flake8 E303: too many blank lines
2020-05-31 17:21:11 -07:00
Adeeb Shihadeh
27754a277c
enable E261 in flake8: two spaces before inline comment
2020-05-31 14:07:29 -07:00
Adeeb Shihadeh
efd5dffb1e
enable flake8 E231: missing whitespace after comma
2020-05-31 12:49:11 -07:00
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
2020-05-28 15:40:48 -07:00
Willem Melching
3d08dcc3b2
Run mypy commit hook ( #1591 )
...
* run mypy commit hook
* fix mypy errors
2020-05-28 15:05:04 -07:00
Willem Melching
bee15f8abe
make pre-commit pass without xx present
2020-05-28 13:20:28 -07:00
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>
2020-05-27 20:00:14 -07:00
Willem Melching
e66c246f34
add simple script to print controlsd alive and valid
2020-05-14 20:16:24 -07:00
Jason Young
09d465013c
Fix hardcoded path in sensor test script ( #1481 )
...
* Fix hardcoded path to sensor test script
* Rename the other place too
2020-05-09 22:17:24 -07:00
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>
2020-05-02 20:00:41 -07:00
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>
2020-05-02 12:07:34 -07:00
Willem Melching
cbef7b3e71
remove more unused debug scripts
2020-04-24 14:21:41 -07:00
Willem Melching
2d944e4042
msgq is done, messaging bechmarks can go
2020-04-24 14:12:41 -07:00
Willem Melching
ca690e6ff9
fake processes that are not used
2020-04-24 14:12:14 -07:00
Willem Melching
aa84d05c6c
We dont need toyota debug folder
2020-04-24 14:10:56 -07:00
Willem Melching
90eb7aadf2
move sensor bootloop script
2020-04-24 14:03:55 -07:00
Willem Melching
035d461fdf
that is not a test
2020-04-24 14:02:35 -07:00
George Hotz
abad49110e
delete more unused, now under 40k lines of python. framereader needs to be ported to C++
2020-04-24 13:45:34 -07:00
George Hotz
8b448a7c16
delete unused code
2020-04-24 12:10:35 -07:00
Willem Melching
8590969c1b
Load all segments
2020-04-22 14:29:36 -07:00
Willem Melching
07e2d34ebb
Use normal can sock
2020-04-22 14:24:24 -07:00
Willem Melching
ec0d6ac579
Simple replay script
2020-04-22 14:23:10 -07:00
Shane Smiskol
6ff881f789
initialize all messages in 1 line ( #1206 )
2020-03-05 17:32:52 -08:00
Willem Melching
c9ecab2139
Kalman filter to identify vehicle parameters ( #1123 )
...
* full vehicle model simulator
* Add vehicle model
* Model compiles
* Close enough
* Simulation works
* Add fast angle offset
* Tune fast angle offset learner
* Create live service for paramsd
* Better clamping
* Fix rotation matrix
* Cleanup before merge
* move debug script to debug/internal
* revert plannerd change
* switch vehicle model to corolla
* fix valid flag
* Bigger stiffness range
* Lower process noise on steer ratio
* Tuning
* Decimation
* No maha tests
2020-02-26 16:19:02 -08:00
Greg Hogan
57c44e3705
WIP: Honda Steering Improvements ( #983 )
...
* move honda steer params to CarParams
* use breakpoints/values from firmware
* remove comment
* civic fw mod max included deadzone
* civic bosch needs to be separate
* script to measure steering accuracy
* civic tuning
* update cr-v values
* cleanup
* averaging over 10 samples was silly
* update stock civic and cr-v tuning
* remove comment
* update replay expected results
2020-02-19 13:28:01 -08:00
Willem Melching
e5f2ac6ffa
5 segments is plenty to get fingerprint
2020-02-12 09:56:53 -08:00
George Hotz
f467642a1c
selfdrive/debug
2020-01-17 11:23:21 -08:00