]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - src/robofsm/robot.c
types: Added robot_bumpers type to orte.
[eurobot/public.git] / src / robofsm / robot.c
index bf3120e2896a3c04b9fb27a2a7dd223db3875b8b..640211418e2a7324b90b06454d5ea90c0fd8ab1c 100644 (file)
@@ -176,9 +176,9 @@ int robot_init()
        */
 
        robot.obstacle_avoidance_enabled = true;
-       robot.use_back_switch = true;
-       robot.use_left_switch = true;
-       robot.use_right_switch = true;
+       robot.use_back_bumpers = true;
+       robot.use_left_bumper = true;
+       robot.use_right_bumper = true;
        robot.start_state = POWER_ON;
        robot.check_turn_safety = true;