Go to the documentation of this file.
74 int main( int argc, char **arg)
95 unsigned int it,nRepetitions;
105 nRepetitions=atoi(arg[2]);
107 Error( "Second parameter for cuikatlasAstar is wrong");
113 Warning( "To get accurate execution time statistics, set GET_ATLASRRT_STATISTICS to 0");
117 fprintf(stderr, "Reading parameters from : %s\n", GetFileFullName(&fparam));
121 Error( "cuikatlasAstar do not work for problems with dynamics");
133 fprintf(stderr, "Random seed : %u\n",ri);
138 for(it=0;it<nRepetitions;it++)
142 Error( "Can not start an atlas from the given point");
148 &pl,&ns,&path,&atlas);
179 fprintf(stderr, " Execution failed (%f sec)\n",planningTime);
183 fprintf(stderr, "Execution compleated %u/%u\n",it+1,nRepetitions);
191 fprintf(stderr, "%% **************************************************\n");
192 fprintf(stderr, " Random seed : %u\n",ri);
198 fprintf(stderr, "%% **************************************************\n");
216 fprintf(stderr, " Wrong number of parameters.\n");
217 fprintf(stderr, " Use:\n");
218 fprintf(stderr, " cuikatlasAstar <problem filename>.%s [num Repetitions]\n", CS_WD_EXT);
219 fprintf(stderr, " where <problem filename> the equations/world description\n");
220 fprintf(stderr, " <num Repetitions> experiment repetitions to gather statistics\n");
221 fprintf(stderr, " This parameter is optional.\n");
222 fprintf(stderr, " (the '.%s' extension is not required)\n", CS_WD_EXT);
224 return(EXIT_SUCCESS);
|
Follow us!