Skip to content

Commit

Permalink
Reword error displayed when joints cannot be found.
Browse files Browse the repository at this point in the history
  • Loading branch information
gavanderhoorn authored Jul 31, 2018
1 parent c3849de commit 9677605
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions industrial_utils/src/param_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,8 @@ bool getJointNames(const std::string joint_list_param, const std::string urdf_pa

// 3) Raise an error
ROS_ERROR_STREAM(
"Unable to find user-specified joint names in '"
<< joint_list_param << "'. Also, unable to find URDF joint names in '"
<< urdf_param
<< "'. Must specify joint names.");
"Cannot find user-specified joint names. Tried ROS parameter '" << joint_list_param << "'"
<< " and the URDF in '" << urdf_param << "'.");
return false;
}

Expand Down

0 comments on commit 9677605

Please sign in to comment.