Ask Your Question

Revision history [back]

I am not sure how this "info_manager_->validateURL" function works but I don't think that "$(find camera)/webcam.yaml" as path will work, you are using C++ and $(find camera) will not be automatically replaced by the package's path like in CMakeFiles. You could first try to put the full path to your yaml file

for example : /home/yourusername/workspace/camera/webcam.yaml

depending on where your package is installed. If that works then just put "webcam.yaml" and run your node from the package's folder.

roscd camera  and then rosrun

If you want to be able to run your node from anywhere without having to put the full path to the yaml file check this answer: