VRepRosQuadSwarm
VRepRosQuadSwarm copied to clipboard
failed to access matrix
@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
What's the matter with it? Thank you in advance.
same
same
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.