Commit Graph

1020 Commits

Author SHA1 Message Date
robbederks
1681cdbaf0 add harness status to panda state (#161) 2021-05-31 13:31:27 +02:00
Adeeb Shihadeh
d87e7e56d9 fix cython visionipc for qcom 2021-05-28 20:34:11 -07:00
Adeeb Shihadeh
3ef74b4d99 remove QCOM_REPLAY 2021-05-28 19:43:58 -07:00
Willem Melching
7609d22fb2 add signal to sentinel (#159) 2021-05-25 17:34:51 +02:00
ShaneSmiskol
1d648f8311 Revert "Add startupDebug alert"
This reverts commit aa3e4995ed.
2021-05-24 17:13:17 -07:00
ShaneSmiskol
aa3e4995ed Add startupDebug alert 2021-05-24 17:12:49 -07:00
Adeeb Shihadeh
b1675bac3d split up camera events 2021-05-21 12:22:48 -07:00
Adeeb Shihadeh
eb204d4a55 msgq: bump num readers to 10 2021-05-20 23:03:54 -07:00
Adeeb Shihadeh
a8055c3f21 add osVersion to initData 2021-05-20 12:31:06 -07:00
Willem Melching
c6b29499c7 add NetworkInfo.state 2021-05-20 14:49:29 +02:00
Mitchell Goff
6fe062eca0 New model outputs (#155)
* Added MetaData fields for new model outputs

* Moved deprecated fields to bottom of struct

* Moved disengage predictions into their own struct
2021-05-19 22:01:28 -07:00
Willem Melching
7a3b02dabe add cameraError event: (#149)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2021-05-19 20:43:52 -07:00
ShaneSmiskol
f65513f3b3 Use C89-style struct syntax for services header (#153) 2021-05-19 20:41:16 -07:00
mitchell
17e454a003 Revert "Added MetaData fields for new model outputs (#142)"
This reverts commit 1fa21cd2dc.
2021-05-19 20:20:40 -07:00
Mitchell Goff
1fa21cd2dc Added MetaData fields for new model outputs (#142)
* Added MetaData fields for new model outputs

* Moved deprecated fields to bottom of struct

* Moved disengage predictions into their own struct
2021-05-19 19:16:11 -07:00
Adeeb Shihadeh
c73da3724d add last athena ping time to deviceState 2021-05-18 22:27:58 -07:00
ShaneSmiskol
c429707aef rename to deprecate (#151) 2021-05-18 16:55:45 -07:00
ShaneSmiskol
284468e3cc SubMaster - allow dynamic service lists (#150) 2021-05-18 12:09:54 -07:00
Willem Melching
4cfd67776e Revert "add cameraError event:"
This reverts commit 2afde00266.
2021-05-18 14:01:49 +02:00
Willem Melching
968ef9ec15 add extra field to NetworkInfo 2021-05-18 13:39:47 +02:00
HaraldSchafer
a6f6095b06 add filter age (#148) 2021-05-17 20:22:54 -07:00
Adeeb Shihadeh
2afde00266 add cameraError event: 2021-05-17 12:35:29 -07:00
Adeeb Shihadeh
d0b6a97c96 remove capnp install script 2021-05-17 12:15:03 -07:00
Willem Melching
42b73b00f1 add networkInfo struct to deviceState (#146) 2021-05-17 13:09:47 +02:00
Adeeb Shihadeh
3c895e7b33 construct pubmaster with vector instead of initializer list 2021-05-15 14:12:42 -07:00
Dean Lee
a6f4b6351d C++ SubMaster: make readers always valid (#139)
* refactor submaster

* cleanup
2021-05-14 22:24:40 -07:00
Adeeb Shihadeh
4ecee78a76 add usbError event (#145) 2021-05-14 20:09:41 -07:00
vlad doster
d4020f0885 fix readme typo (#144) 2021-05-14 17:21:17 -07:00
HaraldSchafer
2acf89ed6f add flags (#143) 2021-05-14 14:11:14 -07:00
Willem Melching
6561fda4bb turn pstore into map (#140) 2021-05-12 11:16:14 +02:00
Willem Melching
bab2f2b95e SubMaster: Don't check alive when SIMULATION env variable is set 2021-05-05 15:25:02 +02:00
Willem Melching
9d83b15104 msgq_all_readers_updated: only return true when at least one reader is connected 2021-05-05 14:10:58 +02:00
Adeeb Shihadeh
3be0bf50c8 rename headers: hpp -> h 2021-05-03 20:40:36 -07:00
Adeeb Shihadeh
90ce0e954f builds on m1 (#137) 2021-05-02 10:34:00 -07:00
Comma Device
2b28609003 add controls initializing event 2021-04-30 13:37:07 -07:00
Adeeb Shihadeh
9532238f18 add bsm to car params 2021-04-25 00:03:28 -07:00
iejMac
8e5eb3ba4d SubMaster: split socket recv and update (#133)
* add update_msgs

* works, need to find a way to pair socket to message without map

* works with strings

* save changes

* fix

* style

* remove fixMaybe

* style

* void update

* removing dynamic_struct

* comments

* dont need include anymore

* map -> vector<pair>

* move to update_msgs

* uint64

* change

* refrence

* whitepsace after if
2021-04-22 21:45:26 -07:00
Adeeb Shihadeh
9c56c531c6 add steerTempUnavailableUserOverride event 2021-04-20 19:50:20 -07:00
Shane Smiskol
c92be0564c Automatically generate service ports (#136)
* make sure specified port isn't reserved

* only sshd

* Add check to tests as well and test

* commonly define these safety check numbers in services and check in both places

* add function to generate new ports that aren't reserved

* port is guaranteed to not be a reserved port and above 8000 now

asserting the rate on runtime isn't necessary, just for testing

* create service_list dynamically

* redundant

* just add an offset equal to length of services dict

* fix test?

* only one reserved

* ignore the argument type error

* rm line

* Add back tests

* starts at 8001
2021-04-20 17:57:54 +02:00
Willem Melching
b39c6fc26d Fuzzy FW match alert and carParams (#134)
* add fuzzy startup alert

* add field to carParams for fuzzy fingerprint

* put with other events
2021-04-20 11:57:09 +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
Comma Device
7d304cdd29 cleanup in the post-apk era 2021-04-10 14:24:10 -07: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
Adeeb Shihadeh
4222bc9104 Events cleanup 2021-04-07 12:01:36 -07: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
Adeeb Shihadeh
9b7dd7e56d bump capnp to 0.8.0 2021-04-03 13:46:45 -07:00
Adeeb Shihadeh
e1741865f8 deprecate oneplus event 2021-03-25 20:35:12 -07:00
Adeeb Shihadeh
7036cf9e51 add event for an always-on dashcam alert 2021-03-25 20:34:36 -07:00
Adeeb Shihadeh
38ecbfe03b deprecate UiLayoutState 2021-03-24 20:14:26 -07:00