Skip to content

Commit

Permalink
modeld, add cloudlogs
Browse files Browse the repository at this point in the history
  • Loading branch information
pd0wm committed Apr 19, 2020
1 parent 8f2858e commit e171a7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions selfdrive/modeld/modeld.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void* live_thread(void *arg) {
}

}

delete live_calibration_sock;
delete poller;
delete c;
Expand Down Expand Up @@ -124,7 +124,7 @@ int main(int argc, char **argv) {

err = clGetPlatformIDs(sizeof(platform_id)/sizeof(cl_platform_id), platform_id, &num_platforms);
assert(err == 0);

#ifdef QCOM
int clPlatform = 0;
#else
Expand Down Expand Up @@ -166,7 +166,7 @@ int main(int argc, char **argv) {
VisionStreamBufs buf_info;
err = visionstream_init(&stream, VISION_STREAM_YUV, true, &buf_info);
if (err) {
printf("visionstream connect fail\n");
LOGW("visionstream connect failed");
usleep(100000);
continue;
}
Expand All @@ -183,7 +183,7 @@ int main(int argc, char **argv) {
VIPCBufExtra extra;
buf = visionstream_get(&stream, &extra);
if (buf == NULL) {
printf("visionstream get failed\n");
LOGW("visionstream get failed");
visionstream_destroy(&stream);
break;
}
Expand Down

0 comments on commit e171a7a

Please sign in to comment.