How to fix this problem ? in ubuntu 14.04 (hector_exploration_node]

asked 2016-09-21 07:07:52 -0500

saucompeng gravatar image

I cloned source code of hector navigation to my share folder. Then I compiled all packets with rosmake.

When I want to run "roslaunch hector_exploration_node exploration_planner.launch" I get error which is :

"ERROR: cannot launch node of type [hector_exploration_node/exploration_planner_node]: can't locate node [exploration_planner_node] in package [hector_exploration_node]"

My ros version is "indigo".

What is wrong? How can i fix it ?

edit retag flag offensive close merge delete


Try rospack find hector_exploration_node. If that gives error, then you need to export the path

alienmon gravatar image alienmon  ( 2016-09-21 11:16:26 -0500 )edit

it doesn't give error. returns "/opt/ros/indigo/share/hector_exploration_node"

saucompeng gravatar image saucompeng  ( 2016-09-21 11:39:45 -0500 )edit