Ask Your Question
2

Getting package not found error

asked 2014-12-22 08:12:41 -0600

udiboy1209 gravatar image

I recently installed and have started learning about ROS

I was doing the Publisher/Subscriber tutorial given on the website

I created a package using catkin_create_package, built it using catkin_make then tried running rosrun

there it gives Package not found error.

Even rospack gives same error

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
6

answered 2014-12-22 08:17:51 -0600

gvdhoorn gravatar image

updated 2014-12-22 08:18:43 -0600

Have you remembered to first run source /path/to/your/catkin_ws/devel/setup.bash (Examining the Simple Publisher and Subscriber - Running the Publisher)? Excerpt from that page:

[..] If you are using catkin, make sure you have sourced your workspace's setup.sh file after calling catkin_make but before trying to use your applications:

edit flag offensive delete link more

Comments

Stupid of me! Thanks :)

udiboy1209 gravatar imageudiboy1209 ( 2014-12-22 08:26:25 -0600 )edit

Got it.Thanks!

spkadam gravatar imagespkadam ( 2019-08-05 14:01:51 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-12-22 08:12:41 -0600

Seen: 19,268 times

Last updated: Dec 22 '14