From 5c206451fabc49b614b09f416b373288f3cfe39d Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Mon, 10 May 2010 23:54:29 +0200 Subject: digital/io/src: handle empty clamp --- digital/io/src/bot.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'digital/io/src/bot.h') diff --git a/digital/io/src/bot.h b/digital/io/src/bot.h index f4dfc00a..fef715de 100644 --- a/digital/io/src/bot.h +++ b/digital/io/src/bot.h @@ -83,6 +83,12 @@ /** Clamp open position in steps. */ #define BOT_CLAMP_OPEN_STEP 15 +/** Clamp width in steps. */ +#define BOT_CLAMP_WIDTH_STEP 4604 + +/** Distance under which the clamp is considered empty. */ +#define BOT_CLAMP_EMPTY_STEP 800 + /** Clamp work speed. */ #define BOT_CLAMP_SPEED 0x60 -- cgit v1.2.3