]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
robofsm: Match time decreased.
authorMichal Vokac <vokac.m@gmail.com>
Fri, 25 May 2012 16:24:36 +0000 (18:24 +0200)
committerMichal Vokac <vokac.m@gmail.com>
Fri, 25 May 2012 16:24:36 +0000 (18:24 +0200)
We got warning for being moving with actuators after match time elapsed.
This is caused by the competition program restart so we simply decrease the timer.

src/robofsm/match-timing.c

index 27b92f1abb20e5f2e05222ea26929ff105a9e446..752a44ec1f23024e7381cf97dc421d10e12a8ce2 100644 (file)
@@ -4,10 +4,10 @@
 UL_LOG_CUST(ulogd_match_timing); // Log domain name = "ulogd_" + the name of the source file
 
 #ifdef COMPETITION
-#define COMPETITION_TIME_DEFAULT        90
+#define COMPETITION_TIME_DEFAULT        87
 #define TIME_TO_DEPOSITE_DEFAULT       65
 #else
-#define COMPETITION_TIME_DEFAULT       90
+#define COMPETITION_TIME_DEFAULT       87
 #define TIME_TO_DEPOSITE_DEFAULT       65
 #endif