Commit Graph

66 Commits

Author SHA1 Message Date
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
Adeeb
64b69bda50 LGTM fixes (#1480)
old-commit-hash: 008700a6b39c3fefe1233fca9adf85cb3413b5b8
2020-05-09 16:40:43 -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
Harald Schafer
18a05e304c longitudinal e2e mpc
old-commit-hash: 34f2c0da75d9a50e2c85771e769586af6c6cf1c3
2020-03-26 17:43:11 -07:00
Willem Melching
1272a95e9b Script to check for lags in message reception
old-commit-hash: dd676f323601ab1b8b9e33d7980cd3854f71119d
2020-03-20 16:35:23 -07:00
Willem Melching
1f461cd205 Fix linter and compiler
old-commit-hash: 45410ee8a8c437c575a5b5b3dcc27cd371702362
2020-03-20 16:28:14 -07:00
Willem Melching
401cd8b121 rename event name instead of service
old-commit-hash: c818f1df37f3ef33828fdf6e7d5948e5426ad06e
2020-03-20 16:11:27 -07:00
Willem Melching
33554ecb06 Print prettier androidLog messages
old-commit-hash: f468ad3298c631b50def1ea01118333ff535c8f5
2020-03-20 16:08:09 -07:00
Willem Melching
164d753a5d Handle json decode error
old-commit-hash: d082cc6c6b61f99cea034bc8f1b9c12dd603cca3
2020-03-20 16:01:20 -07:00
Willem Melching
7b4c8cac3a fix androidLogEntry socket name
old-commit-hash: 196b28e311b4a36fa6cb827affea5b45218dd1de
2020-03-20 15:59:48 -07:00
Willem Melching
7b8ac11ce2 print boottime in filter_log_message.py
old-commit-hash: ef73582a0fb26a072b1748e8dc8f17ec946b651a
2020-03-17 16:35:09 -07:00
Willem Melching
f042426d70 live_cpu_and_temp flag to show cpu usgage per process
old-commit-hash: af742a8c154ff301394f0e6188c63ed85a344cd9
2020-03-12 16:40:30 -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
Willem Melching
91037edde7 add argparser to test_fw_query script
old-commit-hash: a71f5823fa6552e1cf9bffb746286ca02f92593a
2020-02-24 10:53:42 -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
3ab41e6382 add mem flag to live cpu and temp script
old-commit-hash: 3fef70f0d531a4de406491c2c3f0ee172db42a38
2020-02-13 15:07:03 -08:00
Willem Melching
90631998fa Add CHR FW versions
old-commit-hash: a2a44f4e4be8e883330fbda31d7f98c4859a6591
2020-02-13 14:39:33 -08:00
Willem Melching
43f54570a6 5 segments is plenty to get fingerprint
old-commit-hash: e5f2ac6ffaf4d6bff519b81b4939a9b37249d5f9
2020-02-12 09:56:53 -08:00
Willem Melching
5123c0d630 Add some more firmware fingerprints
old-commit-hash: 7c94b361717306f13b02839fd79d87072ca879a5
2020-02-03 11:24:25 -08:00
Willem Melching
0d0f17aad2 move fw query debug script
old-commit-hash: df6fa7acbd42a0bf6bc92779cfedaa8c2c46292d
2020-02-01 18:53:43 -08:00
Willem Melching
bd1db9aa8e Add batch of firmware versions
old-commit-hash: bfa2d030d2927cb9cfdb01f8f1e614d3790d134b
2020-02-01 13:06:05 -08:00
ZwX1616
2ad685b194 dmonitoringd (#1016)
old-commit-hash: 6322a275d6d6f4f638706cce95421517306940cc
2020-01-30 19:12:44 -08:00
Willem Melching
1dee8638d6 Cache FW query (#1025)
* split fw query and matching

* Read cached firmware versions

* add tests

* this works

old-commit-hash: b7aeb5d64dcbd2a3b9e065fd00ee1039852ab0b2
2020-01-30 17:57:20 -08:00
Willem Melching
4101b7976c FW fingerprint for Honda & Toyota (#961)
* add script to process logs

* Skip rav4 ESP

* Improve gathering script

* Update firmware versions for honda and toyota

* more firmware versions

* If FW query returns 1 candidate, use it

* Add FW versions

* Fix COROLLA_TSS2 two enigine addresses

* uncomment rav4h tss2

* add progress bar to test script

* Batch with more ecu versions

old-commit-hash: 356f3534891258ec0d8f71d3d8b883bd6191672d
2020-01-30 14:32:26 -08:00
Willem Melching
c201005fc3 Also show top 10 procs by RAM usage
old-commit-hash: c9501cc1642fa1e02566cf5db4d6883df426f2ed
2020-01-30 14:17:09 -08:00
Willem Melching
870bd0f680 Add script to nicely print logMessages
old-commit-hash: 2571453a54b195adc6a961b20d798e95ab885f67
2020-01-27 11:47:41 -08:00
George Hotz
2048a6e3d3 selfdrive/debug
old-commit-hash: f467642a1cd4b47d70a0fe3ae894e11350f6e28c
2020-01-17 11:23:21 -08:00
George Hotz
81dd5a50cf root commit
old-commit-hash: 6c33a5c1f3878e1d8c8a9db600dd44d188f02c87
2020-01-17 10:02:52 -08:00
Vehicle Researcher
99b637c7ce openpilot v0.7 release
old-commit-hash: c025b96e8a15640ee4d6e4d513fada6ed101afe5
2019-12-13 13:03:08 -08:00
Vehicle Researcher
b713eae9f8 openpilot v0.6.6 release
old-commit-hash: d7f0b402a878b185dbf65d0a7819f5959dd9b8c2
2019-11-04 15:13:52 -08:00
Vehicle Researcher
89d1d84c70 openpilot v0.6.5 release
old-commit-hash: cf80f7a28bc737f50e096b21dea2dd2d6d4a1621
2019-10-09 18:43:53 +00:00
Vehicle Researcher
9abcfabc5f openpilot v0.6 release
old-commit-hash: 8a9ed94f5f33faf282b1918ebe2c37f06cef74e6
2019-06-28 21:11:30 +00:00
Vehicle Researcher
e47a2e6e30 openpilot v0.5.13 release
old-commit-hash: dd34ccfe288ebda8e2568cf550994ae890379f45
2019-06-06 04:38:45 +00:00
Riccardo
19186767b6 Fingeprint script: better instructions
old-commit-hash: b686ca87d37c0b1af9d539bcae4256f74ac17fe6
2019-05-28 17:12:49 -07:00
Vehicle Researcher
0932b367bd openpilot v0.5.12 release
old-commit-hash: 3f9059fea886f1fa3b0c19a62a981d891dcc84eb
2019-05-16 13:20:29 -07:00
Vehicle Researcher
83dfc3ca1f openpilot v0.5.11 release
old-commit-hash: 2f92d577f995ff6ae1945ef6b89df3cb69b92999
2019-04-23 01:41:19 +00:00
Douglas Schilling Landgraf
2b09464b33 patches (#582)
* selfdrive: add sys module to exit call

exit() is a helper for interactive shell. Let's explicit
use the module sys.

* selfdrive: tomstoned.py use constant for /data/tombstones/

Instead of use multiple times a string for
the data dir, use a variable.

old-commit-hash: 5a9d89ed42ddcd209d001a10d7eb828ef0e6d9de
2019-03-26 20:50:37 -07:00