Ask Your Question

cannot launch node of type [closed]

asked 2014-10-10 08:32:20 -0600

jay75 gravatar image

updated 2014-10-10 14:16:47 -0600

ros indigo. ubuntu 14.04 trusty.

this is the launch xml file commandclient.launch :


<!-- Start the command action client to take commands -->
  <node name="command_action_client"  pkg="hal_main" type="commandclient"  output="screen" > 


roslaunch hal_main commandclient.launch :

... logging to /home/jaysin/.ros/log/be04aa0e-5080-11e4-ab58-28e347742258/roslaunch-jaysin-24849.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://jaysin:60903/


 * /rosdistro: indigo
 * /rosversion: 1.11.9

    command_action_client (hal_main/commandclient)


core service [/rosout] found
ERROR: cannot launch node of type [hal_main/commandclient]: can't locate node [commandclient] in package [hal_main]
No processes to monitor
shutting down processing monitor...
... shutting down processing monitor complete

rosrun hal_main commandclient:

[rosrun] Couldn't find executable named commandclient below /home/jaysin/ros/clam3/src/hal_main

rospack find hal_main :




launches from other packages work fine. i have rebuilt everything after deleting devel and build.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by jay75
close date 2014-10-11 05:10:59.812991

2 Answers

Sort by ยป oldest newest most voted

answered 2014-10-11 05:10:02 -0600

jay75 gravatar image

silly mistake in cmakelists.txt. :

add_executable(command_action_client src/commandclient.cpp)

instead off :

add_executable(commandclient src/commandclient.cpp)
edit flag offensive delete link more

answered 2014-10-10 08:43:07 -0600

gvdhoorn gravatar image

Have you remembered to source /home/jaysin/ros/clam3/devel/setup.bash after building?

edit flag offensive delete link more


i already have this in my .bashrc. should i do it again?

jay75 gravatar image jay75  ( 2014-10-10 14:21:22 -0600 )edit

Question Tools

1 follower


Asked: 2014-10-10 08:32:20 -0600

Seen: 2,437 times

Last updated: Oct 11 '14