Go to the documentation of this file.
79 int main( int argc, char **arg)
97 unsigned int accuracy,rep;
100 GtkWidget *window_cuikmove;
110 Warning( "Changing the representation to joints (this may cause problems if the world includes user-defined equations)");
133 axesLength=atof(arg[3]);
138 accuracy=atoi(arg[4]);
152 for(i=0;i<status. ndof;i++)
159 fscanf(initFile, "%lf",&(status. dof[i]));
165 status. p=¶meters;
173 gtk_disable_setlocale();
174 gtk_init(&argc,&arg);
176 window_cuikmove=create_window_cuikmove((gpointer)(&status));
177 gtk_widget_show(window_cuikmove);
180 PlotWorld(¶meters,&pt,axesLength,&world);
193 gtk_main_iteration_do( FALSE);
211 fprintf(stdout, " Wrong number of parameters.\n");
212 fprintf(stdout, " Use:\n");
213 fprintf(stdout, " cuikmove <world>.world [<initFile>.dof <axes> <accuracy>]\n");
214 fprintf(stdout, " Where:\n");
215 fprintf(stdout, " <world>: File describing the problem\n");
216 fprintf(stdout, " <initFile>: Optional. File from where to read the initial joint values.\n");
217 fprintf(stdout, " <axes>: Optional. Length for the axes for each link.\n");
218 fprintf(stdout, " The default value is 0, i.e., not to display them.\n");
219 fprintf(stdout, " <accurary>: Optional. Size of each step in each DOF");
220 fprintf(stdout, " (in decimal digits).\n");
221 fprintf(stdout, " The default value is 3.\n");
222 fprintf(stdout, " File extensions are not required\n");
225 return(EXIT_SUCCESS);
|
Follow us!