gusimplewhiteboard
wb_switch_subsumption.h
Go to the documentation of this file.
1
8#ifndef wb_switch_subsumption_h
9#define wb_switch_subsumption_h
10
11#include <gu_util.h>
12
16#define SUBSUMPTION_LEVELS 6 // number of subsumption levels
17#define SUMPSUMSION_LEVELS SUBSUMPTION_LEVELS // XXX: typo in machines
18
20{ TOTO_NO_COMMAND, // no command do not subsumme
26};
27
29{
30 PROPERTY(enum TotoMotionCommand, motionCommand)
31};
32
33
35{
37
38#ifdef __cplusplus
41 { memset(this, 0, sizeof(*this));
42 }
43
44#endif
45
46};
47#endif //wb_switch_subsumption_h
ARRAY_PROPERTY(enum TotoMotionCommand, theMotions, 6) wb_switch_subsumption()
struct constructor
TotoMotionCommand
@ TOTO_TURN_LEFT
@ TOTO_NO_COMMAND
@ TOTO_MOVE_FORWARD
@ TOTO_BACKWARDS
@ TOTO_TURN_RIGHT
#define SUBSUMPTION_LEVELS
/file wb_switch_subsumption.h