openpilot v0.5.13 release

old-commit-hash: dd34ccfe28
This commit is contained in:
Vehicle Researcher
2019-06-06 04:38:45 +00:00
parent 86fb001d62
commit e47a2e6e30
106 changed files with 3754 additions and 1927 deletions
+15
View File
@@ -0,0 +1,15 @@
// the c version of selfdrive/messaging.py
#include <zmq.h>
// TODO: refactor to take in service instead of endpoint?
void *sub_sock(void *ctx, const char *endpoint) {
void* sock = zmq_socket(ctx, ZMQ_SUB);
assert(sock);
zmq_setsockopt(sock, ZMQ_SUBSCRIBE, "", 0);
int reconnect_ivl = 500;
zmq_setsockopt(sock, ZMQ_RECONNECT_IVL_MAX, &reconnect_ivl, sizeof(reconnect_ivl));
zmq_connect(sock, endpoint);
return sock;
}
+1 -1
View File
@@ -1 +1 @@
#define COMMA_VERSION "0.5.12-release"
#define COMMA_VERSION "0.5.13-release"