From aa42961f73e95bb76c6dee45c46b38b0df976d70 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Fri, 18 May 2012 06:55:45 +0200 Subject: digital/io-hub/src/guybrush: when cleaning go nearer the totem --- digital/io-hub/src/guybrush/top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'digital/io-hub') diff --git a/digital/io-hub/src/guybrush/top.c b/digital/io-hub/src/guybrush/top.c index 8b2f408f..ed529a90 100644 --- a/digital/io-hub/src/guybrush/top.c +++ b/digital/io-hub/src/guybrush/top.c @@ -315,7 +315,7 @@ FSM_TRANS (TOP_TOTEM_GOING, move_success, TOP_TOTEM_CLEAN_STARTING) FSM_TRANS (TOP_TOTEM_CLEAN_STARTING, clamps_ready, TOP_TOTEM_CLEAN_APPROACHING) { - int16_t move = top.totem_distance - BOT_SIZE_LOWER_CLAMP_FRONT - 140; + int16_t move = top.totem_distance - BOT_SIZE_LOWER_CLAMP_FRONT - 135; top.totem_distance -= move; asserv_set_speed (BOT_SPEED_APPROACH); asserv_move_linearly (move); -- cgit v1.2.3