Remove vision logging from SDL app

opencv
PgSocks 1 year ago
parent ed352fd71e
commit a709f5d64b

@ -76,15 +76,6 @@ int main(int argc, char* argv[]) {
break; break;
case FRAGMENT_MESSAGE: case FRAGMENT_MESSAGE:
switch(fragment.message.header.cmd) { switch(fragment.message.header.cmd) {
case VISION_DETECT_INFO_CMD:
if(fragment.message.push.vision.errcode) {
printf("Vision error %d\n", fragment.message.push.vision.errcode);
break;
}
printf("Received %d rectangles\n", fragment.message.push.vision.count);
printf("\tVision type %d\n", fragment.message.push.vision.type);
printf("\tVision status %d\n", fragment.message.push.vision.status);
break;
case STREAM_CTRL_CMD: case STREAM_CTRL_CMD:
if(fragment.message.resp.stream.retcode) { if(fragment.message.resp.stream.retcode) {
printf("ERROR: Stream not enabled\n"); printf("ERROR: Stream not enabled\n");

Loading…
Cancel
Save