]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
robofsm/fsmact: belts related timeout diminished
authorFilip Jares <filipjares@post.cz>
Thu, 14 May 2009 10:25:12 +0000 (12:25 +0200)
committerFilip Jares <filipjares@post.cz>
Thu, 14 May 2009 10:25:12 +0000 (12:25 +0200)
(timeout defining how long should the belts rotate in the
'out' direction after an unsuccessful attempt to suck the puck
happens)

src/robofsm/fsmact.c

index 6d7bfbb45f0fe8d710371f88573bbef8899f46d1..4adb117ea807dc2c9e1c1fbff11959b035a7ee37 100644 (file)
@@ -260,7 +260,7 @@ FSM_STATE(suck_the_puck)
                switch (timer_arrival_count) {
                case 1:
                        act_belts(BELTS_OUT, BELTS_OUT);
-                       FSM_TIMER(1000);
+                       FSM_TIMER(600);
                        break;
                case 2:
                        act_belts(BELTS_IN, BELTS_IN);