Commit Graph

22 Commits

Author SHA1 Message Date
Willem Melching b4263a43fc Locationd 100 Hz (#20816)
* fix std transform

* 100Hz

* new ref

* no more decimation

* clean up confusing maths

* static typing

* Revert "static typing"

This reverts commit 23d87337de648e629fbd35dd8c04a740bbefca47.

* 100Hz costs more

* move normalization into core

* add quat idxs

* add big eps

* this is not safe in the filter

* more sensible

* updates to rednose

* not tested

* normalize in python too

* update rednose

* nan check

* check for infs too

* all should be finite

* update ref

* rednose pr now in master

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: e9db5723ef348954118643501a92cf0715402fea
2021-05-06 11:01:58 +02:00
HaraldSchafer fd28911282 Revert "Locationd 100hz (#20759)" (#20797)
* Revert "Locationd 100hz (#20759)"

This reverts commit 995b89e6424a7b717fb2c725a64d617fb24a1a85.

* new ref
old-commit-hash: daecf4247be74fbe56ae84b4c6585c4c8cbc49b5
2021-05-02 15:06:34 -07:00
HaraldSchafer cbc2cb24b7 Locationd 100hz (#20759)
* fix std transform

* 100Hz

* new ref

* no more decimation

* clean up confusing maths

* static typing

* Revert "static typing"

This reverts commit 23d87337de648e629fbd35dd8c04a740bbefca47.

* 100Hz costs more
old-commit-hash: 333313cf0e6819767d8dcc4a55bea70f0354579f
2021-04-28 15:29:14 -07:00
Adeeb Shihadeh 0e6c74c4a1 check cloudlog volume (#20753)
* check cloudlog volume

* adjust threshold

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 754c6f4e62b3be6067521f5db7497b4b6383aa17
2021-04-26 13:55:02 -07:00
Adeeb Shihadeh 5eb4b526c4 Check panda safety against CarState (#1995)
* check panda safety against CarState

* filter out bad honda routes

* bump a bit more
old-commit-hash: 7f16554ee3eac009d626eb555f52c1b2e1caf4e6
2021-04-25 15:32:05 -07:00
Joost Wooning c0ac9bb63c 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
old-commit-hash: 3420707ad58b060333246eb43db09474bb336d39
2021-04-20 11:56:43 +02:00
Willem Melching f93e09c03e 50% is more realistic for controlsd
old-commit-hash: e2e2587e00f80b941ee3588899c917d6d294db4c
2021-04-19 17:53:28 +02:00
Willem Melching 128107c3d2 tici bump loggerd cpu usage
old-commit-hash: b3d1ef77eed68caafe3c3a6a74f0f1fa3e621969
2021-04-15 13:11:24 +02:00
Willem Melching 4e339db7e8 tici test onroad, increase camerad cpu usage
old-commit-hash: 8eaf3d24102265493239f598036966b15590ce22
2021-04-15 11:24:17 +02:00
Adeeb Shihadeh 998ccacd70 more tici CI coverage (#20639)
* run onroad test in tici

* run in jenkins

* no /data/media

* doesn't exists there yet

* more updates

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 01dc011f9f47d86804f74a0538c6d9a7e63ae24b
2021-04-11 15:56:17 -07:00
Joost Wooning ff9840c53f locationd and paramsd using cython version of ekfsym (#20610)
* Locationd live_kf using c++ kalman filter

* use both cpp and python live_kf to compare

* Locationd using ekfsym cpp

* Paramsd using c++ ekf_sym

* Other building method

* Cleanup

* cleanup

* Single sconscript for rednose and locationd/models

* CI

* CI

* CI fix

* renamed scons config

* Fix lib loading

* bump rednose

* update cpu usage test
old-commit-hash: e6a8157916e9f8365f3f4ac70e49a552e40a8511
2021-04-08 13:09:11 +02:00
Adeeb Shihadeh 53eba80d3d temporarily tolerate higher UI cpu usage in test
old-commit-hash: 08a294199e714387f3f6965641de635946d9baa1
2021-03-26 17:32:59 -07:00
Willem Melching 70dc3598a6 Revert "temporarily increase ui cpu allowance"
This reverts commit 6fffc76401638de96993095bb451c9b578a5cb5c.

old-commit-hash: 6e57fb3767ca8a0f5eca5685d83d4e15fbca6efe
2021-03-26 17:29:53 +01:00
Willem Melching 724dabbf07 temporarily increase ui cpu allowance
old-commit-hash: 2b2d868c862bf18a0977ada70961ca636822021f
2021-03-26 17:07:33 +01:00
Adeeb Shihadeh 51c13aa552 APK purge (#20446)
* purge begins

* release files

* remove those

* no more android

* only qt

* text and spinner

* neos update script

* update sounds

* update cpu usage

* all done

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e76c80ffa1b6167fd69465c66f31fbe475762330
2021-03-24 14:30:41 -07:00
Adeeb Shihadeh 3d04c4060b reduce log spam (#20330)
* fix big spammers

* my favorite test failure

* remove that one

* went down a bit more
old-commit-hash: 90795fc773fb46df4e8e97c19c0d64a449261604
2021-03-12 11:45:29 -08:00
Willem Melching c0098cec09 Manager cleanup (#20231)
* move manager in folder

* inital refactor

* call start

* small cleanup

* add comments

* use self.signal()

* order shouldnt matter

* newlines

* add helpers

* newlines

* add process config

* split out build part of manager

* this should fix most tests

* no sensord on pc

* dont start athena

* remove comment

* fix old athena test

* fix inject model

* fix test car models

* should be not none

* fix helpers exitcode

* ignore manage_athenad

* Use time.monotonic()

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* combine init, remove spinner

* move manager test

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5a3b51130649356b14b24e3c82e014b3a0be95a8
2021-03-05 11:03:23 +01:00
Willem Melching 159ba626a8 onroad test: increase timeout waiting for logs
old-commit-hash: dfa8649b6eac4b60b7cceac0b74d5b4e3d7a99c3
2021-02-16 18:08:23 +01:00
Adeeb Shihadeh 7d17f54040 improve cpu usage test robustness (#20067)
* improve cpu usage test robustness

* more fix

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b85a0f19f4062ed74a9b53f6b58b38bca04f5f6e
2021-02-11 15:15:05 -08:00
Adeeb Shihadeh af95c26b26 remove gpsd (#20027)
old-commit-hash: fe7f3f0ec6b66e42b26451e180e3cde241e749bb
2021-02-10 16:39:39 -08:00
Adeeb Shihadeh 93c2c0784f make onroad test more reliable
old-commit-hash: 8d28fcf9da4d6527eadc5add020e11edf26895d6
2021-01-25 22:06:33 -08:00
Adeeb Shihadeh 9e1f524965 On-device onroad CI test (#19792)
* start onroad test

* cpu usage test works

* nice print

* run in jenkins

* pretty reliable

* bump loggerd cpu usgae

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5a9769020d7031e31a7b80bfea0245a0b0fa238d
2021-01-16 18:11:53 -08:00