]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - src/robofsm/eb2008/fsmmain.cc
Merge branch 'master' of eurobot@michal:/home/eurobot/git
[eurobot/public.git] / src / robofsm / eb2008 / fsmmain.cc
index d622e8f27fac2a7c1de9d4e4d51e1e3eaa4d4953..1ef405b39cf067bce3cd554a620ba66e10dff0cd 100644 (file)
@@ -26,7 +26,8 @@
 #include <robomath.h>
 
 /* define this macro */
-#define COMPETITION
+/* define in CFLAGS */
+// #define COMPETITION
 
 #ifdef COMPETITION
 #define WAIT_FOR_START
@@ -311,6 +312,9 @@ FSM_STATE(wait_for_start)
 #else
                case EV_ENTRY:
 #endif
+                       robot.orte.laser_cmd.speed = LASER_DRIVE_ON;
+                       ORTEPublicationSend(robot.orte.publication_laser_cmd);
+
                        /* start to do something */
                        FSM_TRANSITION(decide_where_now);
                        break;