Commit Graph

24 Commits

Author SHA1 Message Date
Willem Melching
c0fff43bbf fixup profiler and add plannerd (#21292) 2021-06-16 12:10:05 +02:00
Joost Wooning
3420707ad5 convert locationd to c++ (#20622)
* live_kf to c++

* first locationd code

* Running in process_replay

* locationd handle cam_odo and live_calib

* log event handlers

* working message receiving

* compiling message sending

* correctly sending some messages

* correct receiving and sending

* update ref_commit with some all_alive_and_valid being false, minor fixes

* fix std abs

* linking on device fix

* fix cpu usage test

* generate kf constants and defines

* fix replay test

* replay without acks, cleanup

* operate on bytearray messages

* cleanup

* send msg fix

* small sleep, less flaky test

* remove python locationd

* review feedback

* bump rednose
2021-04-20 11:56:43 +02:00
Willem Melching
1c824ba2c5 fix profiler after adding avg freq check 2021-04-07 15:10:24 +02:00
Willem Melching
3258ecedd4 profiler: use more recent drive 2021-03-18 16:01:48 +01:00
Willem Melching
65733fd504 fixup profiler 2021-03-18 15:49:26 +01:00
Adeeb Shihadeh
d5796e07e2 more accurate profiling (#2287) 2020-10-10 15:17:02 -07:00
Adeeb Shihadeh
176c06499d write car params before profiling 2020-10-05 21:34:57 -07:00
Adeeb Shihadeh
6709106025 don't want to profile that 2020-10-05 20:48:23 -07:00
Adeeb Shihadeh
0d11acf34e paramsd profiling 2020-10-05 20:41:24 -07:00
Adeeb Shihadeh
a77548bff6 radard cleanup (#2266)
* some cleanup

* more realistic profiling

* Update selfdrive/controls/radard.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-10-05 11:37:39 +02:00
Adeeb Shihadeh
df6a66c785 radard profiling (#2265) 2020-10-04 15:55:25 -07:00
Adeeb Shihadeh
1d7f4bc3b1 fix locationd profiling 2020-07-30 18:24:07 -07:00
Willem Melching
66455b075d locationd profiling (#1625) 2020-06-02 17:32:55 -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
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
29aaa44740 flake8 in pre-commit(#1583) 2020-05-27 20:33:05 -07:00
Adeeb
08832ff29d Controlsd refactor (#1487)
* it's a class

* more refactor

* remove that

* car interface should create that

* that too

* not a dict

* don't create permanent events every iteration

* break up long lines

* fix honda

* small optimization

* less long lines

* dict is faster

* latcontrol less args

* longcontrol less args

* update profiling script

* few optimizations

* create events together

* clean up

* more clean up

* remove comment

* clean up

* simplify state transition

* more clean up

* update comments
2020-05-12 15:06:48 -07:00
Adeeb Shihadeh
ad2c54e991 fake less of PubMaster and SubMaster when profiling 2020-05-03 17:41:26 -07:00
Willem Melching
5d69e97281 Less hardcoded values in profiling script 2020-05-01 11:38:30 -07:00
Willem Melching
4301c5efb5 small cleanup of profiling script 2020-05-01 10:49:02 -07:00
Willem Melching
b3e7d94303 run both deterministic and statistical profiler 2020-04-30 17:39:37 -07:00
Willem Melching
04bc4a0e45 use proper cachegrind extension 2020-04-30 17:07:46 -07:00
Willem Melching
079c9e714b Write profiling result after running 2020-04-30 16:19:12 -07:00
Willem Melching
4d03b8536f Run controlsd without sockets 2020-04-30 15:15:19 -07:00