Go to the documentation of this file.
62 int main( int argc, char **arg)
95 Error( "The system representation can not be JOINTS when converting to JOINTS");
102 fprintf(stderr, "Reading link poses from : %s\n", GetFileFullName(&flinks));
105 Error( "Could not open the file to read the link poses");
115 Error( "Could not open the file to store the dof");
125 NEW(sample,nvs, double);
128 NEW(dof,ndof, double);
132 for(i=0;((!end)&&(i<nvs));i++)
134 token=fscanf(fs, "%lf",&(sample[i]));
135 if ((token==EOF)||(token==0))
142 fprintf(fd, "%.16f ",dof[j]);
163 fprintf(stderr, "Use:\n");
164 fprintf(stderr, " cuiklinks2joints <problem_name> <dof_name>\n");
165 fprintf(stderr, " <problem_name> the prefix to define the .world and.\n");
166 fprintf(stderr, " .links files.\n");
167 fprintf(stderr, " <dof_name> [optional] The prefis to define the .dof.\n");
168 fprintf(stderr, " file. If not given the <problem_name> is used.\n");
171 return(EXIT_SUCCESS);
|
Follow us!