Commit Graph

33 Commits

Author SHA1 Message Date
Willem Melching
591dcc26ee skip 1st segment in debug replay
old-commit-hash: 74f95b8b26f39c61f91c83f46bbeb93bb43da968
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: b17a6e8f315acfef79e893ea1d804f91bbb60403
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: af22b282ff20201914a462488700971cfe32cb20
2020-06-22 19:22:02 -07:00
Willem Melching
ac40387318 debug script to track droppped frames (#1749)
old-commit-hash: 0681fc04ad39e266dc3b7b621d6ab51c87020529
2020-06-19 16:56:56 -07:00
Willem Melching
dbdbef72d6 vehicle model types (#1631)
old-commit-hash: 240041708450d916bb49ee229ee4cff0e5f5ab59
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: 843a64c72fb94397a1edf814fa66044c8d92acbf
2020-06-02 16:29:32 -07:00
Adeeb Shihadeh
9823f1164c enable flake8 E303: too many blank lines
old-commit-hash: f3dcf861c73b47c52b5dd77a8f1f8858005ae18b
2020-05-31 17:21:11 -07:00
Adeeb Shihadeh
68a3061c9d enable E261 in flake8: two spaces before inline comment
old-commit-hash: 27754a277c36b82ef4040e536cc918ba8ad77bec
2020-05-31 14:07:29 -07:00
Adeeb Shihadeh
be0b43f339 enable flake8 E231: missing whitespace after comma
old-commit-hash: efd5dffb1e727c70065fdbe7499ec9e009dfd282
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: ba2ac1207a554d277e01af5b9514de4500d4f66a
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: 3d08dcc3b27936cb14c0eae63605be9a6c077380
2020-05-28 15:05:04 -07:00
Willem Melching
4022d92155 make pre-commit pass without xx present
old-commit-hash: bee15f8abef98b35d070e931d5b34fd01ca8128e
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: bd0643424357864287ae0485da03f66df85e1fb1
2020-05-27 20:00:14 -07:00
Willem Melching
b1a73d69ea add simple script to print controlsd alive and valid
old-commit-hash: e66c246f34fc1cfa87adb1157e2b44d8927cdd03
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: 09d465013c057762fee4c8c4a14a3837b2a9ec5b
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: e568d3cadc71d2b301fcb46af9afb3c8c8005f72
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: 1295cfe06cd80a2c2f40e0af97697ee818037f08
2020-05-02 12:07:34 -07:00
Willem Melching
f135b7d4df remove more unused debug scripts
old-commit-hash: cbef7b3e71d708f885318aac3bce75c17bbc0048
2020-04-24 14:21:41 -07:00
Willem Melching
2325580259 msgq is done, messaging bechmarks can go
old-commit-hash: 2d944e404224163ae9fe3da221cc2d238bf74f70
2020-04-24 14:12:41 -07:00
Willem Melching
deecaf4b45 fake processes that are not used
old-commit-hash: ca690e6ff9113279bd0a8f98164fff0b4230019b
2020-04-24 14:12:14 -07:00
Willem Melching
17d28e3ffc We dont need toyota debug folder
old-commit-hash: aa84d05c6c5efd5453c4f4e4fd6a85c674ccca8f
2020-04-24 14:10:56 -07:00
Willem Melching
afb2f5bcb1 move sensor bootloop script
old-commit-hash: 90eb7aadf2fc4202945e4340f8dc095f1bafce10
2020-04-24 14:03:55 -07:00
Willem Melching
738727770e that is not a test
old-commit-hash: 035d461fdfdcf3caff9eff69760d79b87a1e07f6
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: abad49110e07cdfc0861978bacb44527c28fdfcf
2020-04-24 13:45:34 -07:00
George Hotz
cc6477015a delete unused code
old-commit-hash: 8b448a7c16d832567f0d3644cc54828ab951b8db
2020-04-24 12:10:35 -07:00
Willem Melching
3ae0cc1cd6 Load all segments
old-commit-hash: 8590969c1b453a9eeb63f1ac02de915b694b1631
2020-04-22 14:29:36 -07:00
Willem Melching
e11eaf7fa9 Use normal can sock
old-commit-hash: 07e2d34ebb40b6bd3e2e35e823da3fa61ebe96f0
2020-04-22 14:24:24 -07:00
Willem Melching
b20b61b21c Simple replay script
old-commit-hash: ec0d6ac579d0e3fd67f06135528d179e6dc9785d
2020-04-22 14:23:10 -07:00
Shane Smiskol
682c866a55 initialize all messages in 1 line (#1206)
old-commit-hash: 6ff881f7894d0117099787e56ec0966bfc63fa7c
2020-03-05 17:32:52 -08:00
Willem Melching
7d0ed178dc 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

old-commit-hash: c9ecab2139cd0b15bba49dcc30e07c7b0f33c6ef
2020-02-26 16:19:02 -08:00
Greg Hogan
c58361fbcb 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

old-commit-hash: 57c44e3705a2e442a169ab9da5571aab4ef16ae4
2020-02-19 13:28:01 -08:00
Willem Melching
43f54570a6 5 segments is plenty to get fingerprint
old-commit-hash: e5f2ac6ffaf4d6bff519b81b4939a9b37249d5f9
2020-02-12 09:56:53 -08:00
George Hotz
2048a6e3d3 selfdrive/debug
old-commit-hash: f467642a1cd4b47d70a0fe3ae894e11350f6e28c
2020-01-17 11:23:21 -08:00