From f3473c7862be6263cba6e789dbb4a84836711792 Mon Sep 17 00:00:00 2001
From: Sergi Hernandez Juan <shernand@iri.upc.edu>
Date: Tue, 4 Apr 2017 15:49:29 +0200
Subject: [PATCH] Passed the private_node_handle to the action client class to
 use it instead of the default one. The namespace of the client will be the
 same as the server.

---
 libraries/create_action_client.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/create_action_client.sh b/libraries/create_action_client.sh
index 9ff86a7..592add4 100644
--- a/libraries/create_action_client.sh
+++ b/libraries/create_action_client.sh
@@ -246,7 +246,7 @@ function create_action_client
 ################################################################################
 #modify Node.cpp
 
-  line="${client_name}(\"${topic_name}\", true)"
+  line="${client_name}(private_node_handle_,\"${topic_name}\", true)"
   #   comment="${class_name}::${class_name}("
   #   sed -i "/${comment}/s|$|,|" "${node_c}"
   #   add_line_to_file "\ \ ${line}" "${comment}" "${node_c}"
-- 
GitLab