Skip to content
Snippets Groups Projects
Commit e386dff6 authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Changed a warning msg

parent 7279d120
No related branches found
No related tags found
No related merge requests found
...@@ -109,8 +109,8 @@ BT::NodeStatus CTiagoNavModuleBT::async_tiago_nav_go_to_pose(BT::TreeNode& self) ...@@ -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; 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)) 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::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::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-> 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; return BT::NodeStatus::FAILURE;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment