-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
models: Fix resource URIs + file layout #10531
Comments
The counter-argument is that Drake is providing an implementation of those model packages (by vendoring them + fixing bugs), so should use the stock naming for interoperability with consumers that expect the standard name. I don't know which direction ends up best, but I think it's important to discuss and confirm the above assertion, instead of taking it as an axiom. |
The counter to this is that Drake is providing a deliberately ROS-incompatible variant of these packages, so interoperability with customers used to the "standard" version of the package is quite poor. |
Aye. Perhaps the best way to confirm the assertion is to verify:
I can get around to this in (hopefully) 2 weeks. |
FYI: This is in effect a prerequisite to remove the much-disliked AddPackage model directive from the model directive language. The AddPackage directive is used exclusively to handle the large number of miscellaneous drake packages. |
I've come around to prefer If in the future we start to split descriptions into their own small packages, then at that point we can give their own I gave @IanTheEngineer a longer f2f debrief of my thoughts on this. |
The next question here is exactly how to make the transition. I'll work on writing up some longer thoughts on that topic, but @IanTheEngineer in the meantime as a first step, I know that we're going to need a |
That sounds like a good plan. I'll look into adding a |
To elaborate... My proposal is that a default-constructed |
Sweet, that's what I was missing! |
Per f2f chat with @jwnimmer-tri , we discussed how to tackle the rest of this issue. Add a Drake
I'll prototype this in a quick |
@EricCousineau-TRI / @IanTheEngineer / @cottsay what work still remains here? Maybe the only task remaining is to convert all bare filenames in sdf & urdf files in Drake to use package URIs instead? |
That is correct, Jeremy. We still need to convert each |
When the |
The README in manipulation/models currently says "After the resolution of #10531, this should be simplified and more compatible." Since this issue is now closed, presumably that README needs an update? |
Seems like yes. I think we could actually just delete the README, since the incorrect statements are its entirety. |
As discussed in RobotLocomotion#10531, the issue that this README was referring to has been closed; the README is no longer relevant.
As discussed in #10531, the issue that this README was referring to has been closed; the README is no longer relevant.
At present, URDFs / SDFs in Drake specify things using relative paths, rather than proper URIs. For compatibility with tools like ROS, we should make them specify package paths.
In addition, we shouldn't provide packages with generic descriptions (like
iiwa_description
) in Drake, as it can shadow other non-Drake packages. Possible alternatives are:package://drake/
(I prefer this one, as it's less awkward, and requires fewer awkward package paths to be added)drake_
Relates #9500 - see design doc.
\cc @calderpg-tri
The text was updated successfully, but these errors were encountered: