summaryrefslogtreecommitdiffhomepage
path: root/digital/io-hub/src/robospierre/bot.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io-hub/src/robospierre/bot.h')
-rw-r--r--digital/io-hub/src/robospierre/bot.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/digital/io-hub/src/robospierre/bot.h b/digital/io-hub/src/robospierre/bot.h
index 8e32a317..de32ebb2 100644
--- a/digital/io-hub/src/robospierre/bot.h
+++ b/digital/io-hub/src/robospierre/bot.h
@@ -58,10 +58,9 @@
/** Distance from border to position in front of a green element. */
#define BOT_GREEN_ELEMENT_PLACE_DISTANCE_MM 600
-/** Distance to go to capture a green element. */
-#define BOT_GREEN_ELEMENT_MOVE_DISTANCE_MM \
- (BOT_GREEN_ELEMENT_PLACE_DISTANCE_MM - BOT_ELEMENT_RADIUS \
- - BOT_SIZE_FRONT - 20)
+/** Distance from border to go to capture a green element. */
+#define BOT_GREEN_ELEMENT_DISTANCE_MM \
+ (BOT_ELEMENT_RADIUS + BOT_SIZE_FRONT + 20)
/** Speed used for initialisation. */
#ifdef HOST