From aeadb6b52916949ddf066a312587d59178c6a771 Mon Sep 17 00:00:00 2001 From: Michal Vokac Date: Thu, 15 Dec 2011 20:38:24 +0100 Subject: [PATCH] robofsm: Better move_around error handling. When can not reach new point for survey, stay where you are and survey. --- src/robofsm/common-states.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/robofsm/common-states.cc b/src/robofsm/common-states.cc index 2c14bff9..cf91372b 100644 --- a/src/robofsm/common-states.cc +++ b/src/robofsm/common-states.cc @@ -315,14 +315,10 @@ FSM_STATE(move_around) break; case EV_MOTION_ERROR: DBG_PRINT_EVENT("ERROR: can not access survey point"); - ul_logdeb("Goal is not reachable\n"); - FSM_TIMER(1000); - break; case EV_MOTION_DONE: FSM_TRANSITION(survey); break; case EV_TIMER: - FSM_TRANSITION(move_around); break; case EV_RETURN: break; -- 2.39.2