fkie_node_manager: fixed last broken commit
@@ -142,7 +142,7 @@ def create_start_config(node, launchcfg, executable='', masteruri=None, loglevel
return result
-def remove_src_binary(cls, cmdlist):
+def remove_src_binary(cmdlist):
result = []
count = 0
if len(cmdlist) > 1:
@@ -193,7 +193,7 @@ def run_node(startcfg):
# get binary path from package
if not cmd_type:
try:
- cmd = roslib.packages.find_resource(startcfg.package, startcfg.binary)
+ cmd = roslib.packages.find_node(startcfg.package, startcfg.binary)
except (roslib.packages.ROSPkgException, rospkg.ResourceNotFound) as e:
# multiple nodes, invalid package
rospy.logwarn("resource not found: %s" % utf8(e))
