Go to the documentation of this file.
79 int main( int argc, char **arg)
100 unsigned int it,nRepetitions;
114 nRepetitions=atoi(arg[2]);
116 Error( "Second parameter for cuikatlastrrt is wrong");
122 Warning( "To get accurate execution time statistics, set GET_ATLASRRT_STATISTICS to 0");
125 Warning( "To get accurate execution time statistics, set GET_ATLASRRT_STATISTICS to 0");
137 fprintf(stderr, "Reading parameters from : %s\n", GetFileFullName(&fparam));
142 Error( "cuikatlastrrt does not deal with bifurcations (yet)");
148 #if (EXPLORATION_RRT)
151 memcpy(s2,s1, sizeof( double)*nvs);
161 fprintf(stderr, "Random seed : %u\n",ri);
166 for(it=0;it<nRepetitions;it++)
170 fprintf(stderr, "************************************************\n");
199 fprintf(stderr, " Execution failed (%f sec)\n",planningTime);
203 fprintf(stderr, "Execution compleated %u/%u\n",it+1,nRepetitions);
211 fprintf(stderr, "%% **************************************************\n");
212 fprintf(stderr, "Random seed : %u\n",ri);
213 fprintf(stderr, " Random seed : %u\n",ri);
217 #if (GET_ATLASRRT_STATISTICS)
225 fprintf(stderr, "%% **************************************************\n");
243 fprintf(stderr, " Wrong number of parameters.\n");
244 fprintf(stderr, " Use:\n");
245 fprintf(stderr, " cuikatlastrrt <problem filename>.%s [num Repetitions]\n", CS_WD_EXT);
246 fprintf(stderr, " where <problem filename> the equations/world description\n");
247 fprintf(stderr, " <num Repetitions> experiment repetitions to gather statistics\n");
248 fprintf(stderr, " This is optional.\n");
249 fprintf(stderr, " (the '.%s' extension is not required)\n", CS_WD_EXT);
251 return(EXIT_SUCCESS);
|
Follow us!