Ask Your Question

Revision history [back]

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.