]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
add ignore_hokuyo variable to struct robot
authorFilip Jares <filipjares@post.cz>
Wed, 28 Apr 2010 10:04:46 +0000 (12:04 +0200)
committerFilip Jares <filipjares@post.cz>
Wed, 28 Apr 2010 10:07:47 +0000 (12:07 +0200)
src/robofsm/robot.c
src/robofsm/robot.h

index 76102b41f7f1eed3ce82b45ef5cc00db47c5e949..bcfce1903c4e86637565a1d9258658b09000867c 100644 (file)
@@ -153,6 +153,7 @@ int robot_init()
 
        robot_set_est_pos_trans(0.16, PLAYGROUND_HEIGHT_M - 0.16, DEG2RAD(-45));
        
+       robot.ignore_hokuyo = false;
        robot.map = ShmapInit(1);
        fill_in_known_areas_in_map();
 
index 88fb6a88950bab55aae010623466d1d9dbb78e23..2372fe2cdbef042207f90fbe017141cd5a7258f6 100644 (file)
@@ -202,6 +202,7 @@ struct robot {
        struct corr_distances_type corr_distances;      /* ultrasound */
 
        struct hokuyo_scan_type hokuyo;
+       bool ignore_hokuyo;
 
        struct map *map;        /* Map for pathplanning (no locking) */