Commit Graph

30 Commits

Author SHA1 Message Date
Adeeb Shihadeh
36f83e1274 clean up new_message 2022-01-02 13:17:15 -08:00
Dean Lee
b366ea46a7 SubMaster: set traversalLimitInWords to max (#188)
* set traversalLimitInWords to max

* NO_TRAVERSAL_LIMIT

space

* log_from_bytes
2021-08-17 16:47:26 +02:00
Willem Melching
bab2f2b95e SubMaster: Don't check alive when SIMULATION env variable is set 2021-05-05 15:25:02 +02:00
Joost Wooning
957147cb84 some fixes and small changes for locationd in c++ (#135)
* Added getters

* extra service to ack messages in process replay

* fix allAliveAndValid ignoring ignoreValid services

* check if readers are updated

* default message valid true
2021-04-19 17:28:06 +02:00
Willem Melching
c803eddb33 add list for average frequency ignore (#132)
* add list for averge frequency ignore

* not simulation

* cleanup
2021-04-08 18:04:11 +02:00
Willem Melching
5980517cc9 dont check avg freq in simulation 2021-04-08 14:07:34 +02:00
Willem Melching
dffb99383e Add check for average frequency (#128)
* add check for average frequency

* fix mypy

* more type errors

* make less strict

* only check polled services

* add flag to disable avg check
2021-04-06 10:09:07 +02:00
Willem Melching
2748048829 Revert "lower alive threshold to 5x"
This reverts commit 8bf83edb7a.
2021-01-29 13:02:11 +01:00
Adeeb Shihadeh
8bf83edb7a lower alive threshold to 5x 2020-12-18 13:46:09 -08:00
Adeeb Shihadeh
626679d1a5 allow prioritization of services in SubMaster (#84)
* allow blocking on a service in SubMaster update

* more descriptive name

* more generic

* fix

* fix mypy

* priority poller

* only use one poller
2020-09-01 16:17:24 -07:00
Adeeb Shihadeh
b9a54adaf4 Add type hints to messaging (#82)
* start adding types to messaging lib

* more return types

* that could be none
2020-08-23 00:14:25 -07:00
Adeeb Shihadeh
430cc73a3b remove get_one_can 2020-07-28 23:15:03 -07:00
Adeeb Shihadeh
3ad1ac096b enable almost all flake8 checks 2020-06-01 01:55:43 -07:00
Adeeb Shihadeh
58878bfd26 whitespace fix 2020-05-31 17:49:11 -07:00
Adeeb Shihadeh
76eb23e062 two spaces before inline comment 2020-05-31 14:04:13 -07:00
Willem Melching
8e2d212a3d add pre-commit static analysis (#48) 2020-05-28 16:04:53 -07:00
Willem Melching
2e5cbfc831 Create and init message in one line with new_message in messaging (#35)
* change new_message in messaging to include service and optional list size parameter

* fix for line 35 in logmessaged.py, which doesn't init message

* more readable
2020-03-05 16:51:33 -08:00
George Hotz
01942b890d add TODO 2020-01-15 08:48:35 -08:00
George Hotz
b74a456a9b don't hardcode the lists 2020-01-15 08:40:13 -08:00
Willem Melching
2219f2bda8 Add warning about not using cython version of sec_since_boot 2019-12-05 15:10:55 -08:00
Riccardo
ad23834045 remove TODO 2019-12-05 12:06:36 -08:00
Willem Melching
3b753be905 Implement error handling and exceptions (#18)
* implement error handling and exceptions

* Add test for MultiplePublisherError

* add some more tests
2019-12-04 23:05:20 +01:00
Willem Melching
66be37087a run python unittest in ci 2019-11-20 17:31:33 -08:00
Comma Device
fe9fe2a200 scons builds the python lib now 2019-11-20 17:44:47 +00:00
Willem Melching
a6759a95eb faster make 2019-11-12 13:17:17 -08:00
Willem Melching
4873449a07 use recv one or none after poll 2019-11-08 14:37:34 -08:00
Willem Melching
d35515a225 add all msgq files, but dont use as default 2019-11-04 16:15:19 -08:00
Willem Melching
090218200e remote address support 2019-11-04 13:08:11 -08:00
George Hotz
79b2fbf70d fixups 2019-11-01 09:34:23 -07:00
George Hotz
23ad2563c4 import messaging and services 2019-11-01 09:31:59 -07:00