From e386dff65b5a687bb9e34e55047f468bbbea7271 Mon Sep 17 00:00:00 2001
From: Alopez <alopez@iri.upc.edu>
Date: Wed, 17 Mar 2021 09:53:23 +0100
Subject: [PATCH] Changed a warning msg

---
 src/tiago_nav_bt_module.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tiago_nav_bt_module.cpp b/src/tiago_nav_bt_module.cpp
index d5a7a06..dc81ea5 100644
--- a/src/tiago_nav_bt_module.cpp
+++ b/src/tiago_nav_bt_module.cpp
@@ -109,8 +109,8 @@ BT::NodeStatus CTiagoNavModuleBT::async_tiago_nav_go_to_pose(BT::TreeNode& self)
     double x_goal, y_goal, yaw_goal, heading_tol_goal, x_y_pos_tol_goal;
     if (!x || !y || !yaw || (!heading_tol && x_y_pos_tol))
     {
-      ROS_ERROR("CTiagoNavModuleBT::sync_tiago_nav_go_to_pose-> Incorrect or missing input. It needs the following input ports: x(double), y(double), yaw(double), [Optional] heading_tol(double) and [Optional] x_y_pos_tol(double)");
-      ROS_ERROR("CTiagoNavModuleBT::sync_tiago_nav_go_to_pose-> The correct input options are: x + y + yaw, x + y + yaw + heading_tol or x + y + yaw + heading_tol + x_y_pos_tol");
+      ROS_ERROR("CTiagoNavModuleBT::async_tiago_nav_go_to_pose-> Incorrect or missing input. It needs the following input ports: x(double), y(double), yaw(double), [Optional] heading_tol(double) and [Optional] x_y_pos_tol(double)");
+      ROS_ERROR("CTiagoNavModuleBT::async_tiago_nav_go_to_pose-> The correct input options are: x + y + yaw, x + y + yaw + heading_tol or x + y + yaw + heading_tol + x_y_pos_tol");
       return BT::NodeStatus::FAILURE;
     }
 
-- 
GitLab