# Revision history [back]

### mesh filename in urdf messing up the URDF.load() for urdfpy library

I have to find and replace the joint descriptions after performing calibration on my robot. So I planned on making a python script making use of urdfpy library for the same. But the filename for mesh has been defined in the urdf file as <mesh filename="package://rcve/src/rcve_description/meshes/RCVE_stl.STL" /> which is interfering with the URDF.load(filename) function when called.

My code which loads the file :

from urdfpy import URDF
import os

os.chdir(os.path.dirname(__file__))
os.chdir('..')
dirname = os.path.abspath(os.curdir)


And the last few lines of error that I get :

File "/home/akash/.local/lib/python3.8/site-packages/urdfpy/urdf.py", line 581, in _from_xml