summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/giboulee.h
diff options
context:
space:
mode:
authorJérémy Dufour2008-04-14 12:06:01 +0200
committerJérémy Dufour2008-04-14 12:06:01 +0200
commitd3c8bf5e81f46d66ff0badcbcbf20a3d828a30eb (patch)
treef66be160813127528352eeed837d223d6f520fe4 /digital/io/src/giboulee.h
parent7a7c0bb8b26353b2e754b4eaa79125aed33b0279 (diff)
* digital/io/src
* build - add dependency of fsm.h for main.c (for bootstrap) ; - ensure it is building for host target. * get samples FSM - remove unneeded fields in the getsamples structures ; - rename it to be more 'private' (to prevent declaring the same one) ; * top FSM - rewrite it ; - still missing some parts to implement. * general - manage color of the bot ; - initialize the switch module in the main_init ; - add position of the gutter.
Diffstat (limited to 'digital/io/src/giboulee.h')
-rw-r--r--digital/io/src/giboulee.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/digital/io/src/giboulee.h b/digital/io/src/giboulee.h
index aa8309dd..eefd1e7c 100644
--- a/digital/io/src/giboulee.h
+++ b/digital/io/src/giboulee.h
@@ -66,4 +66,18 @@
*/
#define BOT_ANGLE_DEGREE (65536 / 360)
+/**
+ * Definition of the colors.
+ */
+enum team_color_e
+{
+ RED_TEAM = 0,
+ BLUE_TEAM = 1
+};
+
+/**
+ * Our color.
+ */
+extern enum team_color_e bot_color;
+
#endif // giboulee_h