#define USEC2SEC(T) (MSEC2SEC(T/1000.0))
#define PERCENT(X,N) (((double) X/ (double) N )* 100.0)
-#define TEST_COUNT 5
+#define TEST_COUNT 10000
#define HIST_COUNT (4*6+2)
#define HIST_MIN 0.000001
// Init Shared Map Memory
ShmapInit(1);
+ init_aalgorithm();
// Create some obstacles
ShmapSetRectangleFlag(0.0, 0.0, 0.2, 2.1, MAP_FLAG_WALL, 0);
} while (!ShmapIsFreePoint(goalx, goaly));
gettimeofday(&tv_start, NULL);
-
+
val = path_planner(startx, starty, goalx, goaly , &path, &angle, &angle);
gettimeofday(&tv_finish, NULL);
}
}
// Free Memory
- //ShmapFree();
+ freemem_aalgorithm();
+ ShmapFree();
return 0;
}