Commit Graph

266 Commits

Author SHA1 Message Date
Adeeb Shihadeh
19bb3f8189 fix docker build 2020-06-04 20:23:49 -07:00
Adeeb Shihadeh
37cd8ebf78 fix dockerfile 2020-06-04 20:15:37 -07:00
Adeeb Shihadeh
1acd80064d run cppcheck in CI 2020-06-04 20:13:59 -07:00
George Hotz
7dcbf6c41f add validLen to PathData 2020-06-03 14:15:57 -07:00
George Hotz
46728e7e3b add in plan and pathPlan to qlogs at 10hz at a cost of 50kb. change liveParameters to 10hz as well 2020-06-03 13:49:27 -07:00
Adeeb Shihadeh
cc14179697 add belowEngageSpeed event 2020-06-02 16:41:54 -07:00
Willem Melching
978ffda405 stricter pylint 2020-06-02 15:22:28 -07:00
Willem Melching
a4beeb99ff Add liveParameters to qlog, fix liveParameters & liveLocationKalman freqs 2020-06-01 13:41:26 -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
b25a7d6f6e fix flake8 complaint about too many blank lines 2020-05-31 17:18:57 -07:00
Adeeb Shihadeh
76eb23e062 two spaces before inline comment 2020-05-31 14:04:13 -07:00
Adeeb Shihadeh
286b7e58b5 capitalize docker command 2020-05-30 20:37:42 -07:00
Adeeb Shihadeh
0adfc7e77e add canErrorPersistent event 2020-05-29 11:57:47 -07:00
Willem Melching
c8be73d10c use github url instead of gitlab mirror 2020-05-28 17:47:09 -07:00
Willem Melching
8e2d212a3d add pre-commit static analysis (#48) 2020-05-28 16:04:53 -07:00
Willem Melching
f27222f8f8 add gpsOK flag to liveLocationKalman 2020-05-27 15:13:08 -07:00
Willem Melching
4bb1eb826d submaster always conflates 2020-05-21 15:06:50 -07:00
Dean Lee
30838d40a4 C++ implementation of SubMaster and PubMaster (#42)
* add class SubMaster&PubMaster

* add socketmaster.cc

* move to cereal_objects

* modify SubMaster

* modify SubMaster

* Code streamlining

* m createSocket

remove dup SubMessage

* Streamline code

Streamline code

Streamline code

alive if delay with LogMonoTime x

reduce code lines

add underscore to class variable,dont check getValid() in poll

add static function get_service(), assert if pub name is not in service list

remove paramater alive from recieve()

rename services to endpoints

is alive is freq_ <= (1e-5)

referer

use sockets_.find() in pushMaster::send to avoid create an empty entry

submaster only do poller, rm PubMaster,add PubMessage

add MessageContext

make SubMaster api same as python version

add class PubMessage

add empty line

fix type

fix typo

remove service_list_

Streamline code

 use cached heaparry to build&send msg

reduce lines

rename sockets_ to messages_

initialize member variable in class

don't use std::find

fix typo

* use global context,remove class PubMessage

remove SubMessage interface from header,add operator[]

undo format source

add new line at end of file

add missing header fiel

reve std::find

add empty line

better drain
2020-05-21 13:57:25 -07:00
Paweł Goliński
c1a6d75d1d Fix potential segfault in MSGQPubSocket::connect (#45) 2020-05-20 16:12:44 -07:00
Paweł Goliński
67fae6afcd Use ZMQ on MacOS (#46) 2020-05-20 16:11:48 -07:00
Willem Melching
01cdf832c8 add default values for backwards compat 2020-05-19 15:50:07 -07:00
Willem Melching
c96381b0d6 add OK flags to locationd output 2020-05-19 15:30:26 -07:00
Willem Melching
d589d5e3d8 add white panda deprecation events 2020-05-15 12:08:02 -07:00
Adeeb Shihadeh
856c9812d5 mark unused car events as deprecated 2020-05-13 17:19:54 -07:00
Adeeb Shihadeh
4f68db8f6a remove unnecessary new event type 2020-05-12 21:05:31 -07:00
Willem Melching
9073b9b1b4 Library cleanup (#43)
* library cleanup

* no static libraries

* apks need static zmq

* Typo

* No hacky script
2020-05-12 18:50:24 -07:00
Adeeb Shihadeh
7a786d9ced move remaining alerts to car events 2020-05-11 17:08:23 -07:00
Adeeb Shihadeh
d6f10a4b9c add alert event type 2020-05-11 13:34:45 -07:00
Adeeb Shihadeh
12aad06e12 no more c capnp 2020-05-07 22:41:03 -07:00
Adeeb Shihadeh
0050e0acb5 stockFcw event 2020-05-07 12:29:04 -07:00
Adeeb Shihadeh
2c325ed327 gasPressed event 2020-05-04 14:08:35 -07:00
Adeeb Shihadeh
8573a24d2e don't duplicate ordinals 2020-04-30 20:45:05 -07:00
Adeeb Shihadeh
3f384efa9f add carState.steerWarning and carState.steerError 2020-04-30 20:42:54 -07:00
ZwX1616
8b347b0ac7 add repeated warning2 2020-04-21 15:02:30 -07:00
ZwX1616
3adb89911f add sharpness metric 2020-04-20 14:26:55 -07:00
Willem Melching
65af4368cb Add relayMalfunction alert 2020-04-16 10:18:25 -07:00
ZwX1616
442e914d73 add preview driver flag 2020-04-15 13:17:41 -07:00
Willem Melching
c8e5db830d Add comment to faulttype 2020-04-09 13:14:39 -07:00
Willem Melching
975a633b86 Add all panda fault types to health 2020-04-09 12:15:52 -07:00
andyh2
93ccbcb7af UiLayoutState: add mockEngaged for onboarding 2020-04-08 14:44:13 -07:00
andyh2
9dbbb54519 UiLayoutState: add 'none' app 2020-04-08 09:10:46 -07:00
andyh2
c820f83d98 Add offroadLayout service 2020-04-08 08:30:31 -07:00
Arne Schwarck
e370f79522 Add the laneChangeBlocked Event (#40)
If there is something in the way. Create alert for User to know why it can not lane change currently
2020-04-06 12:14:38 -07:00
Pieter
35040fe6bb Update service documentation (#39) 2020-03-30 17:53:24 -07:00
Jason Young
8f13dfcaf2 Additional car params auto-detection in support of VW (#38)
* Add enum for installed location in car network

* Add electric vehicle/direct drive to transmission enum

* Better naming of direct-drive variant
2020-03-30 17:53:01 -07:00
Willem Melching
22986de4a6 add speedTooHigh alert 2020-03-30 15:49:30 -07:00
Willem Melching
f515e4db2e Add invalid lkas setting alert 2020-03-27 16:11:02 -07:00
Tici
5908762051 gnustl_shared is only for android 2020-03-26 23:59:55 +00:00
Willem Melching
b0c746b1e1 solve by renaming event name instead of service 2020-03-20 16:11:09 -07:00