]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - src/camera/rozkuk/masks_globals.h
rozkuk: Code revision and clarification (possibly not compilable for ppc).
[eurobot/public.git] / src / camera / rozkuk / masks_globals.h
index b2a5d09be1530b3586e3ab78bec211b1a5986a7b..d27ec57959c5b52d0c741df7664a6d3abf3dbe10 100644 (file)
@@ -19,6 +19,9 @@
 #define orSIDE          's'
 #define orCENTER        'c'
 
+// filename pattern of masks (number, orientation, color)
+#define MASKFILENAME     "mask%02d%c%c.pnm"
+
 // numbers of corns and masks
 #define CORNSCNT        10    //number of corns in one mask
 #define SIDEMASKSCNT    9     //number of masks for side corns
@@ -26,7 +29,7 @@
 #define MASKSCNT        (SIDEMASKSCNT+CENTERMASKSCNT)   //number of all masks
 
 // color values
-#define CL_NEUTRAL      128   //neutral color - gray - used also as threshold
+#define CL_NEUTRAL      128   //neutral color - gray
 
 #endif /* MASKS_GLOBALS */