diff --git a/roboticstoolbox/tools/urdf/urdf.py b/roboticstoolbox/tools/urdf/urdf.py index 2069af158..6094cf5c3 100644 --- a/roboticstoolbox/tools/urdf/urdf.py +++ b/roboticstoolbox/tools/urdf/urdf.py @@ -302,6 +302,8 @@ def filename(self, value): if value.startswith("package://"): value = value.replace("package://", "") + elif value.startswith("file://"): + value = value.replace("file://", "") if _base_path is None: value = rtb_path_to_datafile("xacro", value)