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

rospack package not found error

asked 2016-04-21 10:38:03 -0500

siddhesh gravatar image

I created a package in catkin workspace and put a node inside the src directory of package which worked fine. Then i added another node node and used catkin_make to build. Now when I try to run any of the nodes or find package i am getting above error. Am I missing any step ?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-04-21 11:20:11 -0500

gvdhoorn gravatar image

Am I missing any step ?

source /path/to/your/workspace/devel/setup.bash


edit flag offensive delete link more


Thanks it worked, Do I need to type it before running every node ?

siddhesh gravatar image siddhesh  ( 2016-04-21 11:51:04 -0500 )edit

No, not every node. Every bash session (or whatever shell you're running). But if you would want, you could add that line to your .bashrc. You'll get errors if that file doesn't exist though.

gvdhoorn gravatar image gvdhoorn  ( 2016-04-21 13:29:45 -0500 )edit

Question Tools

1 follower


Asked: 2016-04-21 10:38:03 -0500

Seen: 3,921 times

Last updated: Apr 21 '16