From 001e1a2f9444608af07754a702035fce5f7d62a9 Mon Sep 17 00:00:00 2001
From: Fernando Herrero Cotarelo <fherrero@iri.upc.edu>
Date: Wed, 1 Aug 2012 09:27:04 +0000
Subject: [PATCH] [iri_action_server]  - do not stop action when preempted goal

---
 include/iri_action_server/iri_action_server.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/iri_action_server/iri_action_server.h b/include/iri_action_server/iri_action_server.h
index 47f4803..65dd292 100755
--- a/include/iri_action_server/iri_action_server.h
+++ b/include/iri_action_server/iri_action_server.h
@@ -431,7 +431,7 @@ void IriActionServer<ActionSpec>::executeCallback(const GoalConstPtr& goal)
         //is_active = false;
 
         // stop action
-        stop_action_callback_();
+        //stop_action_callback_();
         as_.setPreempted();
       }
       // check if action has finished
-- 
GitLab