ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Cannot locate node in package

asked 2014-04-11 05:52:05 -0600

Ros_newbie gravatar image

updated 2014-04-11 05:52:47 -0600

How to run a server? I cloned the package dmp and saved it in my sandbox. when I roslaunch the dmp node, I get the error

ERROR: cannot launch node of type [dmp/dmp_server]: can't locate node [dmp_server] in package [dmp]

Must I add something in CMakeList.txt before I launch?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-04-11 06:26:02 -0600

gvdhoorn gravatar image

updated 2014-04-11 06:30:11 -0600

Have you build your workspace before trying to launch the node? ROS C++ nodes are just regular Linux binaries, which you need to build by compiling their source code. As you are refering to a sandbox, I'm assuming you're on Hydro, using catkin. In that case, go to the toplevel directory of your sandbox (ie: probably catkin_ws) after having sourced your setup.bash file, then:

$ catkin_make

This should build your workspace. Then (after sourcing the setup.bash in the devel directory) try to launch the node again.


Edit: all wrong: apparently dmp is a rosbuild package, so instead of using catkin, you should build it using rosmake.

edit flag offensive delete link more

Comments

thanks. yes. Its a rosbuild package.

Ros_newbie gravatar image Ros_newbie  ( 2014-04-11 06:36:36 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-04-11 05:52:05 -0600

Seen: 1,926 times

Last updated: Apr 11 '14