fzea vlnzuueck

This commit is contained in:
2017-02-22 18:31:04 -04:00
parent a2d0da2404
commit 6898dd244c
10 changed files with 59 additions and 34 deletions

View File

@@ -74,7 +74,7 @@ int main(int argc, char **argv) {
signal(SIGINT, handler);
try {
phero_map = new PheromoneMap("maps/cave_mask.png");
phero_map = new PheromoneMap(argc > 1 ? argv[1] : "maps/cave_mask.png");
// Initialize the robot objects and threads.
for(uint32_t i = 0; i < NUM_ROBOTS; ++i) {