]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
robofsm: Fixed carousel type
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 1 May 2008 03:16:05 +0000 (05:16 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 1 May 2008 03:16:05 +0000 (05:16 +0200)
src/robofsm/eb2008/robot_eb2008.h

index 7f7ecb399bc1269bc23ff28c0b54a05e329779f0..0a745fee54a729b3b5212347624e7ce66fd093d2 100644 (file)
@@ -96,8 +96,8 @@ struct robot_eb2008 {
        unsigned char beacon_color;
 
        #define CAROUSEL_SIZE 5
-       unsigned char carousel[CAROUSEL_SIZE];
-       unsigned char carousel_cnt;
+       enum ball_color carousel[CAROUSEL_SIZE];
+       unsigned char carousel_cnt; /* The number of balls in carousel */
 
        /** Temporary storage for new trajectory. After the trajectory creation is
         * finished, this trajectory is submitted to fsmmove. */