-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URDF Exporter URI support #798
Comments
The default resource locators support this so it makes sense that they would support it also. |
So what does that argument to the export method look like? An enumeration of the possible export types? An It looks like the default locator uses libcurl for imports, and supports many formats: http, ftp, file, package, etc. The full libcurl format list is pretty extensive. You could maybe wrap libcurl to copy the files to the specified location. If we're only prepending a user-provided resource location prefix (not actually copying files to the specified location), then this is not really an issue. Also note that it seems like |
Maybe we create a base class called ResourceExporter with a virtual method given a file name generates a URI. Then all of the write methods in tesseract_urdf take this instead of package_path and file name. This way the developer could implement there own way of generating URI using file://, package, etc. |
It looks like the URDF writing capabilities of
tesseract_urdf
assume that all geometry is referenced with thepackage://
URI in the output URDF. This is not necessarily always the case, especially with non-ROS projects that use tesseract to generate a URDF model. Has there been any thought behind supporting other URIs, specificallyfile://
?The text was updated successfully, but these errors were encountered: