From: petr Date: Fri, 13 Apr 2012 13:57:04 +0000 (+0200) Subject: robofsm: Map 2012 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/eurobot/public.git/commitdiff_plain/8aa3e9bda4bea2c11f94b2559f3e916b37009edf?hp=fa4b5792e47a3ca91ce0101284e890f0f5877602 robofsm: Map 2012 Update dimensions. --- diff --git a/src/robofsm/robot.c b/src/robofsm/robot.c index ab43c837..77575a95 100644 --- a/src/robofsm/robot.c +++ b/src/robofsm/robot.c @@ -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)