summaryrefslogtreecommitdiff
path: root/digital/ai/src/common/playground.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/ai/src/common/playground.h')
-rw-r--r--digital/ai/src/common/playground.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/digital/ai/src/common/playground.h b/digital/ai/src/common/playground.h
index 18c81ecf..4f225a50 100644
--- a/digital/ai/src/common/playground.h
+++ b/digital/ai/src/common/playground.h
@@ -31,11 +31,19 @@
* angle depending of the current team color.
*/
+#ifndef EUROBOT
+# error "Need EUROBOT define for playground"
+#endif
+
/** Playground width, mm. */
#define PG_WIDTH 3000
/** Playground length, mm. */
-#define PG_LENGTH 2100
+#if EUROBOT >= 2012
+# define PG_LENGTH 2000
+#else
+# define PG_LENGTH 2100
+#endif
/** Distance to playground borders for general movements, mm. */
#define PG_BORDER_DISTANCE 250