From 549d586bad4811c3d70a9f98f95692d6ffe995ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Enrique=20Dom=C3=ADnguez?=
 <jdominguez@iri.upc.edu>
Date: Fri, 17 Apr 2020 12:06:57 +0200
Subject: [PATCH] Movement timeout reduced from 6000 to 600 seconds

---
 cfg/IriAnaNavModule.cfg        | 2 +-
 config/nav_module_default.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cfg/IriAnaNavModule.cfg b/cfg/IriAnaNavModule.cfg
index 46bfb64..fadc9ca 100755
--- a/cfg/IriAnaNavModule.cfg
+++ b/cfg/IriAnaNavModule.cfg
@@ -51,7 +51,7 @@ gen.add("rate_hz",                 double_t,                0,
 move_base_action.add("mb_max_retries",int_t,                0,                     "Maximum number of retries for the action start",    1,   1,    10)
 move_base_action.add("mb_feedback_watchdog_time_s",double_t,0,                     "Maximum time between feedback messages",    600,   0.01,    600)
 move_base_action.add("mb_enable_watchdog",bool_t,           0,                     "Enable action watchdog",         True)
-move_base_action.add("mb_timeout_s",double_t,               0,                     "Maximum time allowed to complete the action",    6000,   0.1,    6000)
+move_base_action.add("mb_timeout_s",double_t,               0,                     "Maximum time allowed to complete the action",    600,   0.1,    900)
 move_base_action.add("mb_enable_timeout",bool_t,            0,                     "Enable action timeout",          True)
 move_base_action.add("mb_frame_id",str_t,                   0,                     "Reference frame of the position goals","/map")
 move_base_action.add("mb_enabled", bool_t,                  0,                     "Enable action execution",        True)
diff --git a/config/nav_module_default.yaml b/config/nav_module_default.yaml
index 5a4732a..133cd76 100644
--- a/config/nav_module_default.yaml
+++ b/config/nav_module_default.yaml
@@ -3,7 +3,7 @@ rate_hz: 1.0
 mb_max_retries: 1
 mb_feedback_watchdog_time_s: 60.0
 mb_enable_watchdog: True
-mb_timeout_s: 6000.0
+mb_timeout_s: 660.0
 mb_enable_timeout: True
 mb_frame_id: "/ana/base_link"
 mb_enabled: True
-- 
GitLab