ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I'm guessing, you have the file in the wrong location.
The file array1.txt
needs to be in the directory where you execute rosrun <your_package> <your_node>
, because this is set as the working directory of your executable.