]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - src/camera/color-finder/main/revue.cpp
Merge branch 'personal/svedimon/color-finder' into sick-day
[eurobot/public.git] / src / camera / color-finder / main / revue.cpp
index 85810cc0e1c725de0590531ed458a4ba7b9b8ddf..9ecd9c1bf036d8bc729e08c560290413da3d09da 100644 (file)
@@ -119,9 +119,10 @@ void send_data(SPixelPosition pos)
         orte.camera_result.y = pos.y;
         orte.camera_result.target_valid = pos.info; // OK / NOTĀ OK
         orte.camera_result.data_valid = data;
+       orte.camera_result.angle_deg = pos.uhel;
 
         ORTEPublicationSend(orte.publication_camera_result);
-        fprintf(stderr, "ORTE: x: %d y: %d, info: %d \n", pos.x, pos.y, pos.info);
+        fprintf(stderr, "ORTE: x: %d y: %d, info: %d uhel: %lf data_valid: %d \n", pos.x, pos.y, pos.info, pos.uhel, data);
 }
 
 /* Fce pro zapnuti a vypnuti rozpoznavani */