]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
robofsm: Increased obstacle protection
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 3 May 2008 09:09:30 +0000 (11:09 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 3 May 2008 09:09:30 +0000 (11:09 +0200)
src/robofsm/eb2008/robot_eb2008.c

index a4ceb16b174f901500a1dde08e89afe55d3fd24f..4f0558c3b967b3e6d2d3695a3261692a8e8c9738 100644 (file)
@@ -72,11 +72,11 @@ void fill_in_known_areas_in_map()
 /*     ShmapSetRectangleFlag(2.801, 0.0, 3.0, 2.1, MAP_FLAG_WALL, 0); */
 
        
-       ShmapSetRectangleFlag(0, 1.25, 0.2, 1.45, MAP_FLAG_IGNORE_OBST, 0); /* Left white vert. dispenser */
-       ShmapSetRectangleFlag(2.8, 1.25, 3, 1.45, MAP_FLAG_IGNORE_OBST, 0); /* Right white vert. dispenser */
+       ShmapSetRectangleFlag(0, 1.25, 0.3, 1.45, MAP_FLAG_IGNORE_OBST, 0); /* Left white vert. dispenser */
+       ShmapSetRectangleFlag(2.7, 1.25, 3, 1.45, MAP_FLAG_IGNORE_OBST, 0); /* Right white vert. dispenser */
 
-       ShmapSetRectangleFlag(0.65, 1.9, 0.85, 2.1, MAP_FLAG_IGNORE_OBST, 0); /* Blue vert. dispenser */
-       ShmapSetRectangleFlag(2.30, 1.9, 2.55, 2.1, MAP_FLAG_IGNORE_OBST, 0); /* Red vert. dispenser */
+       ShmapSetRectangleFlag(0.65, 1.8, 0.85, 2.1, MAP_FLAG_IGNORE_OBST, 0); /* Blue vert. dispenser */
+       ShmapSetRectangleFlag(2.30, 1.8, 2.55, 2.1, MAP_FLAG_IGNORE_OBST, 0); /* Red vert. dispenser */
 
        /* Ignore other obstacles at edges */
        ShmapSetRectangleFlag(0.0, 0.0, 0.09, 2.1, MAP_FLAG_IGNORE_OBST, 0); /* left */