]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
robofsm: Map 2012
authorpetr <silhavik.p@gmail.com>
Fri, 13 Apr 2012 13:57:04 +0000 (15:57 +0200)
committerpetr <silhavik.p@gmail.com>
Fri, 13 Apr 2012 13:57:04 +0000 (15:57 +0200)
Update dimensions.

src/robofsm/robot.c

index ab43c837adb567f72692595c2c33bc73ccd4ae9f..77575a95d6d8e522cbfb26f7eb7218f35ddee99a 100644 (file)
@@ -72,11 +72,11 @@ void fill_in_known_areas_in_map()
        ShmapSetRectangleFlag(2.675, 0.0, 2.62, 0.74, MAP_FLAG_WALL, 0);
        
        /* Palm tree */
-       ShmapSetCircleFlag(1.5, 1.0, 0.075, MAP_FLAG_WALL, 0);
+       //ShmapSetCircleFlag(1.5, 1.0, 0.075, MAP_FLAG_WALL, 0);
        
-       /* Totems */
-       ShmapSetRectangleFlag(1.01, 0.91, 1.19, 1.09, MAP_FLAG_WALL, 0);
-       ShmapSetRectangleFlag(1.81, 0.91, 1.99, 1.09, MAP_FLAG_WALL, 0);
+       /* Totems and palm tree */
+       ShmapSetRectangleFlag(0.975, 0.875, 2.025, 1.125, MAP_FLAG_WALL, 0);
+       //ShmapSetRectangleFlag(1.775, 0.875, 2.025, 1.125, MAP_FLAG_WALL, 0);
 }
 
 static void trans_callback(struct robo_fsm *fsm)