]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
robodim/robofsm: Remove unused constant
authorMichal Vokac <vokac.m@gmail.com>
Wed, 1 Oct 2014 20:21:46 +0000 (22:21 +0200)
committerMichal Vokac <vokac.m@gmail.com>
Wed, 1 Oct 2014 20:21:46 +0000 (22:21 +0200)
src/robodim/robodim.h
src/robofsm/common-states.cc

index 4ef6862336b86583a1dee125b6f0f987aedc7f32..024ab51c915e83aa469e72a0e08746df56320740 100644 (file)
 #define PLAYGROUND_HEIGHT_MM   20000
 #define PLAYGROUND_HEIGHT_M    (PLAYGROUND_HEIGHT_MM/1000.0)
 
-/**
- * TARGET DIMENSIONS
- */
-#define TARGET_RADIUS_MM     125
-#define TARGET_RADIUS_M      (TARGET_RADIUS_MM/1000.0)
 
 struct sharp_pos {
        float x, y, ang;
index 4a9cc3b7bab225f4aa9120c509d172938d166b97..c8ae411d970e144ccc99d4413fd846aa102f4116 100644 (file)
@@ -39,11 +39,6 @@ UL_LOG_CUST(ulogd_common_states); /* Log domain name = ulogd + name of the file
 
 struct TrajectoryConstraints tcFast, tcSlow, tcVerySlow;
 
-/**
- * Safe distance for target recognition
- */
-const double approach_radius = TARGET_RADIUS_M + 2.0*MAP_CELL_SIZE_M + ROBOT_DIAGONAL_RADIUS_M;
-
 void set_initial_position()
 {
          robot_set_est_pos_trans(ROBOT_START_X_M, ROBOT_START_Y_M, DEG2RAD(ROBOT_START_ANGLE_DEG));