39 int main(
int argc,
char** argv)
42 std::cerr <<
"Usage: urdf_to_collada input.urdf output.dae" << std::endl;
46 std::string input_filename(argv[1]);
47 std::string output_filename(argv[2]);
50 if (!robot_model.
initFile(input_filename)) {
51 std::cerr <<
"failed to open urdf file " << input_filename << std::endl;
56 std::cout << std::endl <<
"Document successfully written to " << output_filename << std::endl;