summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Balleyguier2012-05-13 16:32:21 +0200
committerNicolas Schodet2012-05-13 16:32:21 +0200
commit9433f950fd44eefa825b77cedf2af9d3299c535a (patch)
treeb851b000d775508c2ea1d927dd3079b52736b06c
parent7515e6878524f593215f67d3b8818cafc097e7fa (diff)
digital/io-hub/src/guybrush: adaptation to real clamp
-rw-r--r--digital/io-hub/src/guybrush/bottom_clamp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/digital/io-hub/src/guybrush/bottom_clamp.c b/digital/io-hub/src/guybrush/bottom_clamp.c
index 8496e022..251b143d 100644
--- a/digital/io-hub/src/guybrush/bottom_clamp.c
+++ b/digital/io-hub/src/guybrush/bottom_clamp.c
@@ -172,7 +172,7 @@ FSM_START_WITH (CLAMP_START)
ROTATION DEFINITION
---------------------------------------*/
#define POS_DELAY 1200
-#define INIT_BOTTOM_POS (6+HALF_TURN)
+#define INIT_BOTTOM_POS (6.25+HALF_TURN)
#define HIDE_POS 3
#define BACK_TO_READY (16-HIDE_POS)
#define HALF_TURN 8
@@ -288,8 +288,6 @@ FSM_TRANS (CLAMP_INIT_HIDE_CLAMP, lower_clamp_rotation_success,
FSM_TRANS (CLAMP_INIT_READY,init_start_round, CLAMP_GOING_IDLE)
{
- move_needed(BACK_TO_READY * 250,FAST_ROTATION);
- ctx.clamp_1_down = 0;
return FSM_NEXT (CLAMP_INIT_READY, init_start_round);
}