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/bot.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'digital/io/src/bot.h') diff --git a/digital/io/src/bot.h b/digital/io/src/bot.h index 78e9a51f..6a9eef89 100644 --- a/digital/io/src/bot.h +++ b/digital/io/src/bot.h @@ -43,11 +43,15 @@ # define BOT_SCALE 0.0413530725332892 #endif -/** - * The size of the bot. - */ -#define BOT_LENGTH 300 -#define BOT_WIDTH 310 +/** Distance from the robot axis to the front. */ +#define BOT_SIZE_FRONT 120 +/** Distance from the robot axis to the back. */ +#define BOT_SIZE_BACK (280 - 120) +/** Distance from the robot axis to the side. */ +#define BOT_SIZE_SIDE (310 / 2) +/** Distance from the robot axis to farthest corner, this is the radius of the + * circle needed when rotating. */ +#define BOT_SIZE_RADIUS 196 /** * Distance required to be away from a border to be able to turn freely. -- cgit v1.2.3