summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/init.h
diff options
context:
space:
mode:
authorNicolas Schodet2010-04-13 00:22:08 +0200
committerNicolas Schodet2010-04-13 00:22:08 +0200
commitd91aa09bc6744ae8181b8507162c0c0ba94b2f93 (patch)
tree54b770a665724e521406425575eb4b4109466189 /digital/io/src/init.h
parenta7005814750c04d6e14186760e17effa1fde6898 (diff)
digital/io/src: update robot size
Diffstat (limited to 'digital/io/src/init.h')
-rw-r--r--digital/io/src/init.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/digital/io/src/init.h b/digital/io/src/init.h
index ef3074fb..1615a280 100644
--- a/digital/io/src/init.h
+++ b/digital/io/src/init.h
@@ -25,10 +25,8 @@
*
* }}} */
-/**
- * We want to be at 50mm.
- */
-#define INIT_DIST (PG_START_ZONE_LENGTH - BOT_LENGTH - 50)
+/** Backward distance from the wall. */
+#define INIT_DIST (PG_START_ZONE_LENGTH / 2 - BOT_SIZE_FRONT)
/**
* The match begin!