From 64b62bae13fe9a3d3ab133f411c269d645622e07 Mon Sep 17 00:00:00 2001 From: hsu Date: Thu, 24 Sep 2009 18:55:18 +0000 Subject: [PATCH] update error messages. --- urdf/src/model.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/urdf/src/model.cpp b/urdf/src/model.cpp index 106e3d5..9b301a4 100644 --- a/urdf/src/model.cpp +++ b/urdf/src/model.cpp @@ -283,7 +283,7 @@ bool Model::initTree(std::map &parent_link_tree) if (!parent_link) { - ROS_ERROR(" parent link '%s' is not found", parent_link_name.c_str()); + ROS_ERROR(" parent link '%s' of joint '%s' not found", parent_link_name.c_str(), joint->first.c_str() ); return false; } else @@ -294,7 +294,7 @@ bool Model::initTree(std::map &parent_link_tree) if (!child_link) { - ROS_ERROR(" for joint: %s child link '%s' is not found",joint->first.c_str(),child_link_name.c_str()); + ROS_ERROR(" child link '%s' of joint: %s not found",child_link_name.c_str(),joint->first.c_str()); return false; } else