From 17a25a1dbb8393979c1b5a57863140b4a2a91f91 Mon Sep 17 00:00:00 2001
From: Alopez <alopez@iri.upc.edu>
Date: Tue, 17 Nov 2020 17:26:54 +0100
Subject: [PATCH] Fixed async_cancel not returning RUNNING

---
 src/tiago_head_bt_module.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tiago_head_bt_module.cpp b/src/tiago_head_bt_module.cpp
index 39de5b1..d240d19 100644
--- a/src/tiago_head_bt_module.cpp
+++ b/src/tiago_head_bt_module.cpp
@@ -151,7 +151,7 @@ BT::NodeStatus CTiagoHeadModuleBT::async_cancel_tiago_head_action(void)
     else
       return BT::NodeStatus::FAILURE;
   }
-  return BT::NodeStatus::SUCCESS;
+  return BT::NodeStatus::RUNNING;
 }
 
 BT::NodeStatus CTiagoHeadModuleBT::is_tiago_head_finished(void)
-- 
GitLab