]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - src/robofsm/robot.c
robofsm: Fix odometry malfunction - calibration constant has to be set to non-zero.
[eurobot/public.git] / src / robofsm / robot.c
index d32db701fc956d617921021512f9621dbf269118..5dd8cc09541935a408699fe4b65a73619f044566 100644 (file)
@@ -162,6 +162,9 @@ int robot_init()
        robot.start_state = POWER_ON;
        robot.check_turn_safety = true;
 
+        robot.odo_cal_a = 1;
+        robot.odo_cal_b = 1;
+
        /* init ORTE domain, create publishers, subscribers, .. */
        rv = robot_init_orte();
        act_init(&robot.orte);