Commit Graph

332 Commits

Author SHA1 Message Date
Adeeb Shihadeh
2d48c23ca5 fix blocking msgq poll (#64)
* remove unnecessary condition on msqg poll

* fix blocking msgq poll
2020-09-12 22:59:12 -07:00
Dean Lee
ba61dbdf46 Custom message builder (#72)
* add an simple class MessageBuilder

* remove member function toArray()

* fix extra spaces

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-09-12 20:25:57 -07:00
grekiki
177bc413f7 fix the isssue 41 (#87)
* fix the isssue

* Improve code style

* Improve code style2, remove failing test

* less changes

* style3
2020-09-11 14:45:47 +02:00
Willem Melching
97e79f9c01 add light sensor source 2020-09-10 14:19:56 +02:00
Willem Melching
1646e84af8 fix mac build 2020-09-09 17:39:55 +02: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
1538183eaa deprecate rhdChecked field 2020-08-29 12:24:44 -07:00
Willem Melching
78b8887198 larger shared memory size on computer for frames 2020-08-28 13:16:12 +02:00
Willem Melching
b409259426 add sensor source 2020-08-25 17:29:36 +02:00
ZwX1616
146f42944a add wideFrame in service list 2020-08-24 14:40:06 -07:00
Willem Melching
16e424f406 ThermalData cleanup (#81)
* ThermalData cleanup

* temps is implied
2020-08-24 14:17:52 +02: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
ZwX1616
b9208f95f3 wideFrame 2020-08-21 16:19:35 -07:00
robbederks
50d3751489 more fault types (#80) 2020-08-17 12:26:49 +02:00
robbederks
0d2ce45fc6 Added car battery capacity (#79) 2020-08-17 10:35:42 +02:00
Adeeb Shihadeh
d66afca4ac add validBlocks for calibration 2020-08-06 14:09:15 -07:00
Harald Schafer
b7a9fa458d add calib spread metric 2020-08-06 12:46:55 -07:00
Adeeb Shihadeh
61d7488e55 add deviceFalling event 2020-08-03 15:01:19 -07:00
Adeeb Shihadeh
20dc4503bf add deviceStable 2020-08-03 14:56:11 -07:00
Adeeb Shihadeh
9cd1934a9c parallelize cython extension build 2020-08-02 13:26:44 -07:00
Adeeb Shihadeh
10a25c8b98 expose frame and rcv_frame in C++ submaster (#76)
* expose rcv_frame in C++ submaster

* expose frame too
2020-08-01 16:59:46 -07:00
ZwX1616
33c2780cec add wide encoder idx 2020-07-31 13:03:35 -07:00
Adeeb Shihadeh
566152fc29 fix linter 2020-07-29 14:09:00 -07:00
Adeeb Shihadeh
87c10d3346 fix test file path 2020-07-29 13:57:24 -07:00
Adeeb Shihadeh
17c3ad78f2 test generated services.h 2020-07-29 13:45:03 -07:00
Adeeb Shihadeh
3020c2b925 simple service tests 2020-07-29 13:38:36 -07:00
Adeeb Shihadeh
6bcf4bf57f add codecov badge to README 2020-07-29 00:37:16 -07:00
Adeeb Shihadeh
a91e43f09e Coverage analysis in CI (#75)
* coverage analysis in CI

* space

* coverage run

* name
2020-07-29 00:33:42 -07:00
Adeeb Shihadeh
430cc73a3b remove get_one_can 2020-07-28 23:15:03 -07:00
Adeeb Shihadeh
06c7f72a2c Tests for lower level messaging functions (#73)
* start messaging tests

* test drain sock

* recv with retry

* test retry blocking

* fix zmq
2020-07-27 17:30:45 -07:00
Adeeb Shihadeh
8eed8edf19 add hyundaiCommunity 2020-07-27 13:56:14 -07:00
Adeeb Shihadeh
29099e87a1 Update catch2 and move to Dockerfile (#71)
* update catch2 and download in dockerfile instead of checking in

* fix dockerfile

* fix path
2020-07-27 02:14:06 -07:00
Adeeb Shihadeh
da0492c152 link to github actions on CI badge in README 2020-07-26 21:17:05 -07:00
Adeeb Shihadeh
45cd21a468 Messaging unit tests (#66)
* pub sub unit test

* pub master test

* first submaster test case

* test init

* submaster conflate test

* more submaster

* all submaster except alive and valid

* fix ZMQ

* fix ZMQ for test_messaging

* single underscore

* fix key error

* more zmq sleep

* zmq needs even more sleep

* unused

* zmq sleep in submaster tests
2020-07-26 19:58:12 -07:00
Adeeb Shihadeh
c176b01845 Faster CI (#68)
* move tests into their own jobs

* add CI badge to README

* fix name
2020-07-26 19:57:22 -07:00
Adeeb Shihadeh
99289eb559 increase max line length 2020-07-26 19:34:41 -07:00
Adeeb Shihadeh
fc811ece0b update flake8 config to match openpilot 2020-07-26 18:49:10 -07:00
Adeeb Shihadeh
7b78cda876 rebuild cython extensions when python/cython/distuils change 2020-07-16 13:33:19 -07:00
Adeeb Shihadeh
f725dcd617 add frameDropPerc (#63) 2020-07-14 12:00:21 -07:00
Adeeb Shihadeh
80bbbd4bf7 add frameAge to ModelData 2020-07-09 15:36:10 -07:00
Adeeb Shihadeh
8bb45f887d update readme 2020-07-08 21:51:58 -07:00
Adeeb Shihadeh
f35491f0c5 enable -Wunused 2020-07-08 16:03:57 -07:00
Greg Hogan
221c458e15 k-line 5 init fault type (#61) 2020-07-06 08:36:56 -07:00
Adeeb Shihadeh
0ae6179619 add modeldLagging event 2020-07-05 19:45:36 -07:00
ZwX1616
f3e60041e5 add sunglasses prob 2020-07-02 13:37:30 -07:00
Adeeb Shihadeh
441849564d only update docker cache from master 2020-06-29 10:52:33 -07:00
Robbe Derks
7f6df092ef Dos 2020-06-29 00:17:23 +02:00
Adeeb Shihadeh
4e3541ae43 turn on -Werror to match openpilot 2020-06-27 17:23:19 -07:00
sjdavalle
0d52f0a490 Field designator initialization order (#60) 2020-06-25 11:32:56 -07:00
Willem Melching
8d5230e59b add sensorsOK field to LiveLocationKalman 2020-06-22 14:09:55 -07:00