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

Revision history [back]

This may sound simple, but have you checked the file name is correct and it's in the right path on your computer. The working path of the node will be the directory you're in when you execute it, but the path the binary file is actually in.

If you're working on linux you can use the following code to check what the current working path of your node is:

char path[1024]; getcwd(path, sizeof(path)); ROS_INFO("Current path is [%s]", path);

If it the filename and path are correct you might need to check the file permissions. Let us know how you get on.