From: Michal Sojka Date: Sat, 3 May 2008 09:09:30 +0000 (+0200) Subject: robofsm: Increased obstacle protection X-Git-Tag: eb2008~6^2~1 X-Git-Url: https://rtime.felk.cvut.cz/gitweb/eurobot/public.git/commitdiff_plain/1cf8c54b5a1999372e0abddb94bde0aafabbba63 robofsm: Increased obstacle protection --- diff --git a/src/robofsm/eb2008/robot_eb2008.c b/src/robofsm/eb2008/robot_eb2008.c index a4ceb16b..4f0558c3 100644 --- a/src/robofsm/eb2008/robot_eb2008.c +++ b/src/robofsm/eb2008/robot_eb2008.c @@ -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 */