diff --git a/gz3d/src/gziface.js b/gz3d/src/gziface.js index e77ff3a5..34f847ea 100644 --- a/gz3d/src/gziface.js +++ b/gz3d/src/gziface.js @@ -960,6 +960,13 @@ GZ3D.GZIface.prototype.createGeom = function(geom, material, parent) if (idx > 1) { modelName = meshUri.substring(meshUri.lastIndexOf('/', idx-1)); + } else { + console.log('Could not establish a local filename for mesh: "' + + meshUri + + '". Mesh URIs using an absolute path syntax should use ' + + 'the ROS-standard directory structure of ' + + '"/meshes/", e.g. ' + + '"/home/user/workspace/src/ur_description/meshes/base.dae".'); } } if (modelName.length > 0)