From f21c4cec0c3dc2ed5585ae57292c4d42e82fcd44 Mon Sep 17 00:00:00 2001
From: Tommy Persson <tommmy.persson@liu.se>
Date: Wed, 25 Aug 2021 00:51:48 +0200
Subject: [PATCH] Bug fix

---
 src/nodeletutil.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nodeletutil.cc b/src/nodeletutil.cc
index 0d45447..24136a7 100644
--- a/src/nodeletutil.cc
+++ b/src/nodeletutil.cc
@@ -134,7 +134,7 @@ bool load_nodelet(std::vector<std::string> pkgs, std::string tst_type) {
 bool load_nodelet(std::string pkg, std::string tst_type) {
   ROS_ERROR("nodeletutil load_nodelet3: %s - %s", pkg.c_str(), tst_type.c_str());  
   std::string nodelet_type;
-  if (basic_nodelet_exists(pkg, tst_type, nodelet_type)) {
+  if (nodelet_exists(pkg, tst_type, nodelet_type)) {
     std::string ns = ros::names::clean (ros::this_node::getNamespace());    
     std::string nodelet_name = ns + "/" + tst_type;
     std::string manager = pkg + "_manager";
-- 
GitLab