Ask Your Question
1

rosmake can't find my packages

asked 2014-07-29 09:07:47 -0600

dshimano gravatar image

updated 2014-07-29 09:12:21 -0600

Hi, I'm using Hydro on Ubuntu 12.04. I've been going through a lot of tutorials and online projects to get more familiar with ros, and haven't been having problems. I recently loaded the tum_ardrone packege which includes running

export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:`pwd`/ardrone_autonomy

since then, whenever I use rosmake I get the error

[ rosmake ] WARNING: The following args could not be parsed as stacks or packages: ['learning_ps3joy/']

[ rosmake ] ERROR: No arguments could be parsed into valid package or stack names.

I've seen people ask this question, and the answer is to run some sort of export command like the one above, but I'm unclear about how to do it, and why i never had this problem before. I have also seen a lot about the ROS_PACKAGE_PATH, and wanted to know if anyone could tell me how to see what it is on my computer, how to change it, and how to make sure packages I'm making are on it, if that makes sense? Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-07-29 10:10:23 -0600

gerhenz gravatar image

I don't know why you're getting this error, your export command looks right to me. Anyway, as you said, probably something is wrong with ROS_PACKAGE_PATH.

Please open a new terminal and type the following command:

echo $ROS_PACKAGE_PATH

This command will return the current paths that ROS looks for packages when you call commands such as rosmake. Check if in the output it's included the path for your packages.

If not, try using the command source /opt/ros/hydro/setup.bash. After that, open a new terminal a try the first command again, the ROS_PACKAGE_PATH should have changed back for its default value.

Finally, try using the rosmake command again.

edit flag offensive delete link more

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-07-29 09:07:47 -0600

Seen: 945 times

Last updated: Jul 29 '14