diff --git a/src/nodeletutil.cc b/src/nodeletutil.cc index 0d4544750031dea01dbdace7a4ac58e850a81ace..24136a776c4c1300654deeb046908048598f4c62 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";