]> rtime.felk.cvut.cz Git - eurobot/public.git/blob - src/robofsm/common-states.h
robofsm: Add competition sources.
[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 tcJerk, tcFast, tcSlow, tcVerySlow;
10
11 FSM_STATE_DECL(start_all_our_figures);
12 // FSM_STATE_DECL(start_12_oranges);
13 // FSM_STATE_DECL(start_opp_corn);
14 // FSM_STATE_DECL(start_opp_oranges);
15 //
16 //
17 FSM_STATE_DECL(bypass_figure_in_front_of_start);
18 FSM_STATE_DECL(approach_second_green_figure);
19 FSM_STATE_DECL(load_second_green_figure);
20 FSM_STATE_DECL(go_out_second_green_figure);
21 FSM_STATE_DECL(place_figure_to_protected_block);
22 FSM_STATE_DECL(leave_protected_figure);
23 // FSM_STATE_DECL(approach_next_corn);
24 // FSM_STATE_DECL(rush_the_corn);
25 // FSM_STATE_DECL(rush_last_cms);
26 // FSM_STATE_DECL(turn_around);
27 // FSM_STATE_DECL(approach_the_slope);
28
29 void start_entry();
30 void start_timer();
31 void start_go();
32 void start_exit();
33
34 #endif