From 90bb1981a6367d276d564f8a4625b81b8646fe21 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 17 May 2012 06:17:37 +0200 Subject: digital/io-hub/src/guybrush: give up on catastrophic failure --- 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 8f80e174..75d157d9 100644 --- a/digital/io-hub/src/guybrush/top.c +++ b/digital/io-hub/src/guybrush/top.c @@ -351,7 +351,7 @@ FSM_TRANS (TOP_TOTEM_GOING, move_failure, TOP_DECISION) FSM_TRANS (TOP_TOTEM_APPROACHING, robot_move_failure, TOP_TOTEM_ERROR_GOING_BACK) { - strat_failure (); + strat_giveup (); move_start_noangle (top.decision_pos, ASSERV_BACKWARD, 0); return FSM_NEXT (TOP_TOTEM_APPROACHING, robot_move_failure); } @@ -359,14 +359,14 @@ FSM_TRANS (TOP_TOTEM_APPROACHING, robot_move_failure, FSM_TRANS (TOP_TOTEM_PUSHING, robot_move_failure, TOP_TOTEM_ERROR_GOING_BACK) { - strat_failure (); + strat_giveup (); move_start_noangle (top.decision_pos, ASSERV_BACKWARD, 0); return FSM_NEXT (TOP_TOTEM_PUSHING, robot_move_failure); } FSM_TRANS (TOP_TOTEM_GOING_BACK, move_failure, TOP_TOTEM_ERROR_RELEASE) { - strat_failure (); + strat_giveup (); FSM_HANDLE (AI, stop_tree_approach); return FSM_NEXT (TOP_TOTEM_GOING_BACK, move_failure); } -- cgit v1.2.3