From 210f4e49a151769abd13357546cb7133d881acd6 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sun, 20 May 2012 00:00:57 +0200 Subject: digital/io-hub/src/guybrush: change unload position --- digital/io-hub/src/guybrush/top.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'digital/io-hub/src/guybrush/top.c') diff --git a/digital/io-hub/src/guybrush/top.c b/digital/io-hub/src/guybrush/top.c index a8c4c5c3..2bc6c8e1 100644 --- a/digital/io-hub/src/guybrush/top.c +++ b/digital/io-hub/src/guybrush/top.c @@ -234,7 +234,7 @@ top_go_unload (void) if (pos.v.y > PG_LENGTH - PG_CAPTAIN_ROOM_LENGTH_MM) pos.a = PG_A_DEG (0); else - pos.a = PG_A_DEG (70); + pos.a = PG_A_DEG (45); move_start (pos, 0); } @@ -663,12 +663,12 @@ top_do_unload (void) } FSM_TRANS (TOP_UNLOAD_GOING, move_success, - hold, TOP_DECISION, + hold, TOP_UNLOAD_GOING_BACK, captain, TOP_UNLOAD_GOING_BACK) { if (top.decision_pos.y < PG_LENGTH - PG_CAPTAIN_ROOM_LENGTH_MM) { - top_do_unload (); + asserv_move_linearly (-100); return FSM_NEXT (TOP_UNLOAD_GOING, move_success, hold); } else -- cgit v1.2.3