summaryrefslogtreecommitdiff
path: root/digital/io/src/bot.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/bot.h
parenta7005814750c04d6e14186760e17effa1fde6898 (diff)
digital/io/src: update robot size
Diffstat (limited to 'digital/io/src/bot.h')
-rw-r--r--digital/io/src/bot.h14
1 files changed, 9 insertions, 5 deletions
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.