]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
robfsm: Add one cell to safe target approach radius.
authorMichal Vokac <vokac.m@gmail.com>
Thu, 15 Dec 2011 00:55:00 +0000 (01:55 +0100)
committerMichal Vokac <vokac.m@gmail.com>
Thu, 15 Dec 2011 00:55:00 +0000 (01:55 +0100)
src/robofsm/common-states.cc

index d83c2bef04558f7a703104cce50be56286458283..28745c31cde82dc6cd48b7e478e3520bd8913fa7 100644 (file)
@@ -47,7 +47,7 @@ std::vector<robot_pos_type> detected_target;
 /**
  * Safe distance for target recognition
  */
-const double approach_radius = TARGET_RADIUS_M + 2.0*MAP_CELL_SIZE_M + ROBOT_DIAGONAL_RADIUS_M;
+const double approach_radius = TARGET_RADIUS_M + 3.0*MAP_CELL_SIZE_M + ROBOT_DIAGONAL_RADIUS_M;
 
 void set_initial_position()
 {