From 5c8d716b96d32609d18af5219c541201209e586d Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sun, 29 May 2011 19:19:28 +0200 Subject: digital/io-hub: handle element detection on table --- digital/io-hub/src/robospierre/bot.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'digital/io-hub/src/robospierre/bot.h') diff --git a/digital/io-hub/src/robospierre/bot.h b/digital/io-hub/src/robospierre/bot.h index 890780b3..7e773032 100644 --- a/digital/io-hub/src/robospierre/bot.h +++ b/digital/io-hub/src/robospierre/bot.h @@ -46,6 +46,13 @@ /** Angle error at the front contact point. */ #define BOT_FRONT_CONTACT_ANGLE_ERROR_DEG 0 +/** Distance from robot center to front pawn detection threshold. */ +#define BOT_PAWN_FRONT_DETECTION_THRESHOLD_MM 190 +/** Distance from robot center to back pawn detection threshold. */ +#define BOT_PAWN_BACK_DETECTION_THRESHOLD_MM -190 +/** Distance from robot center to an element near enough to be taken. */ +#define BOT_PAWN_TAKING_DISTANCE_MM 150 + /** Speed used for initialisation. */ #define BOT_SPEED_INIT 0x10, 0x10, 0x10, 0x10 /** Normal cruise speed. */ -- cgit v1.2.3