]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
New lines at the end of orte output messages.
authorPetr Kubiznak <kubizpet@fel.cvut.cz>
Fri, 28 May 2010 10:44:50 +0000 (12:44 +0200)
committerPetr Kubiznak <kubizpet@fel.cvut.cz>
Fri, 28 May 2010 10:44:50 +0000 (12:44 +0200)
src/camera/rozkuk/rozkuk.cxx

index 3e5dc6d68c52d164efd6b911ecfdae09495d93cf..bb980c2e8d7a6ca425184b4e6ab5bfec21032672 100644 (file)
@@ -29,10 +29,10 @@ extern "C" {
 }
 /******************************************************************************/
 
-// uncomment next line to "log" the output frames - save them as pnm to the working directory
+//uncomment next line to "log" the output frames - save them as pnm to the working directory
 //#define PPC_DEBUG
-// uncomment next line to print orte state
-#define ORTE_DEBUG
+//uncomment next line to print orte state
+//#define ORTE_DEBUG
 
 // modes definitions
 #define MODE_QUIT         0x01
@@ -591,7 +591,7 @@ void rcv_cmr_ctrl_cb(const ORTERecvInfo *info, void *vinstance, void *recvCallBa
                case NEW_DATA:
                        // nothing to do - changes will be processed in the recognition loop
 #ifdef ORTE_DEBUG
-                       fprintf(stderr, "orte: New camera data: ctrl %d", orte_data->camera_control.on);
+                       fprintf(stderr, "orte: New camera data: ctrl %d\n", orte_data->camera_control.on);
 #endif /*----------- ORTE_DEBUG -----------*/
                        break;
                case DEADLINE:
@@ -612,7 +612,7 @@ void rcv_robot_switches_cb(const ORTERecvInfo *info, void *vinstance, void *recv
                case NEW_DATA:
                        // nothing to do - changes will be processed in the recognition loop
 #ifdef ORTE_DEBUG
-                       fprintf(stderr, "orte: New switches data: clr %d", instance->team_color);
+                       fprintf(stderr, "orte: New switches data: clr %d\n", instance->team_color);
 #endif /*----------- ORTE_DEBUG -----------*/
                case DEADLINE:
                        fprintf(stderr, "ORTE deadline occurred - CMR_CTRL receive\n");