From 22d678b3c51af44e95db6e95348134d7102f5b9a Mon Sep 17 00:00:00 2001 From: sugikazu75 Date: Sun, 2 Jul 2023 18:11:34 +0900 Subject: [PATCH] fix bug: modify error message in model when there exists no thrust link in urdf --- aerial_robot_model/src/model/base_model/robot_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aerial_robot_model/src/model/base_model/robot_model.cpp b/aerial_robot_model/src/model/base_model/robot_model.cpp index 726a68289..482e117bf 100644 --- a/aerial_robot_model/src/model/base_model/robot_model.cpp +++ b/aerial_robot_model/src/model/base_model/robot_model.cpp @@ -86,7 +86,7 @@ namespace aerial_robot_model { } if(!found_thrust_link) { - ROS_ERROR_STREAM("Can not find the link named '" << baselink_ << "' in urdf model"); + ROS_ERROR_STREAM("Can not find the link named '" << thrust_link_ << "' in urdf model"); return; }