]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - src/robofsm/robot.h
robofsm: Move timing thread to a separate file
[eurobot/public.git] / src / robofsm / robot.h
index 6e16e8d481a13f85381bd636ee46c978eb55c27d..c34839a1104b15ef0d9d6a02a04d6515d5565032 100644 (file)
@@ -211,6 +211,9 @@ struct robot {
        struct corns_group *corns;
 
        bool obstacle_avoidance_enabled;
+
+       /** is set to true in separate thread when there is short time left */
+       bool short_time_to_end;
 }; /* robot */
 
 extern struct robot robot;