0
$\begingroup$

Rosanswers logo

I created a package in catkin workspace and put a publisher.py node inside the src directory of package which worked fine. Then i added another node subscriber.py 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 ?

Thanks.


Originally posted by siddhesh on ROS Answers with karma: 39 on 2016-04-21

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Am I missing any step ?

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

perhaps?


Originally posted by gvdhoorn with karma: 86574 on 2016-04-21

This answer was ACCEPTED on the original site

Post score: 0


Original comments

Comment by siddhesh on 2016-04-21:
Thanks it worked, Do I need to type it before running every node ?

Comment by gvdhoorn on 2016-04-21:
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.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.