summaryrefslogtreecommitdiff
path: root/digital/io-hub/src/guybrush/top.c
diff options
context:
space:
mode:
authorNicolas Schodet2012-05-18 06:55:45 +0200
committerNicolas Schodet2012-05-18 06:55:45 +0200
commitaa42961f73e95bb76c6dee45c46b38b0df976d70 (patch)
treede6404ccebf6a502f6938d953f1b104904e63490 /digital/io-hub/src/guybrush/top.c
parentd4a36f4b08d77d477a4614dc14df522e2e85e604 (diff)
digital/io-hub/src/guybrush: when cleaning go nearer the totem
Diffstat (limited to 'digital/io-hub/src/guybrush/top.c')
-rw-r--r--digital/io-hub/src/guybrush/top.c2
1 files changed, 1 insertions, 1 deletions
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);