]> rtime.felk.cvut.cz Git - eurobot/public.git/blob - src/robofsm/common-states.h
robofsm: basic strategy rewrite (using the skeleton created by Michal in commit e3afc...
[eurobot/public.git] / src / robofsm / common-states.h
1 #ifndef COMMON_STATES_H
2 #define COMMON_STATES_H
3
4 #define FSM_MAIN
5
6 #include "roboevent.h"
7 #include <fsm.h>
8
9 extern struct TrajectoryConstraints tcFast, tcSlow, tcVerySlow;
10
11 FSM_STATE_DECL(start_opp_oranges);
12 FSM_STATE_DECL(start_opp_corn);
13
14
15 FSM_STATE_DECL(climb_the_slope);
16 FSM_STATE_DECL(sledge_down);
17 FSM_STATE_DECL(to_cntainer_and_unld);
18 FSM_STATE_DECL(rush_corns_decider);
19 FSM_STATE_DECL(approach_next_corn);
20 FSM_STATE_DECL(rush_the_corn);
21 FSM_STATE_DECL(turn_around);
22 FSM_STATE_DECL(approach_the_slope);
23
24 void start_entry();
25 void start_timer();
26 void start_go();
27 void start_exit();
28
29 #endif