VRepRosQuadSwarm icon indicating copy to clipboard operation
VRepRosQuadSwarm copied to clipboard

failed to access matrix

Open marooncn opened this issue 7 years ago • 3 comments

@merosss Hello merosss, I compile the package and create map_file.txt according to your instruction. But when I run roslaunch quadcopter_ctrl swarmNodeCount_3.launch input:=map_file.txt there comes an error that shows it can't access matrix but the file path I configure is absolutely right. The screen shot is attached e

What's the matter with it? Thank you in advance.

marooncn avatar Jan 02 '18 12:01 marooncn

same

andy970226 avatar Apr 07 '19 03:04 andy970226

same

Mur-Ton avatar Mar 30 '22 01:03 Mur-Ton

Have you tried to print out the resulting file path?

If you're using the quadNodeCount algorithm, for example, you could try to cout the file_path variable after line 94 of quadNodeCount.cpp https://github.com/merosss/VRepRosQuadSwarm/blob/f06ae82fe3fa18d8f122a0712990e3c38eedcf8a/src/quadNodeCount.cpp#L94 std::cout << "File path: " << file_path << std::endl;

and see what the program is actually looking for.

fwanderlingh avatar Mar 30 '22 07:03 fwanderlingh