From d91aa09bc6744ae8181b8507162c0c0ba94b2f93 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Tue, 13 Apr 2010 00:22:08 +0200 Subject: digital/io/src: update robot size --- digital/io/src/init.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'digital/io/src/init.h') 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! -- cgit v1.2.3