00001 #!/usr/bin/python 00002 00003 import roslib; roslib.load_manifest('urdf_python') 00004 import rospy 00005 import sys 00006 00007 from urdf_python import * 00008 00009 if __name__ == '__main__': 00010 for fn in sys.argv[1:]: 00011 rospy.loginfo(fn) 00012 model = URDF().load(fn) 00013 model.to_xml() 00014 print model 00015