diff --git a/src/parsers/urdf/geometry.cpp b/src/parsers/urdf/geometry.cpp index e1467af685..e7f63dc1e1 100644 --- a/src/parsers/urdf/geometry.cpp +++ b/src/parsers/urdf/geometry.cpp @@ -443,11 +443,6 @@ namespace se3 std::vector ros_pkg_paths = rosPaths(); hint_directories.insert(hint_directories.end(), ros_pkg_paths.begin(), ros_pkg_paths.end()); - if(hint_directories.empty()) - { - throw std::runtime_error("You did not specify any package directory and ROS_PACKAGE_PATH is empty. Geometric parsing will crash"); - } - details::parseTreeForGeom(tree, tree.urdf_->getRoot(), model, geomModel, hint_directories,type); return geomModel; }