-
Notifications
You must be signed in to change notification settings - Fork 1
Posible cleanup of the pybind files in the "make install" installation #5
Comments
If the end user writes their own C++ code that uses Drake's C++ classes as part of its API, and wraps that in their own Python bindings that likewise use That's why the headers (and CMake snippets) are installed. Ideally, the ROS package of Drake would provide the same capability. Here's an example of that use case: |
Thanks for the information and the code. Since the Drake package is going to install files that are part of its dependencies (instead of relying on the other packages) I was wondering if we can "encapsulate" the files somehow to avoid using a path that could point people to the dependency being fully installed and ready to be consumed. In this case, the path It but would be great if we could move the files under the a drake specific path, something like: @jwnimmer-tri would that work for the use case you detailed above? It will probably require code changes but for the final user we can probably encapsulate the path using CMake. |
I'm having a bit of a difficult time wrapping my head around your question. Here's what I think would help: In this build of Drake (the ROS package build), please explain the full paths where all of the files will end up. Here's the full list directories that currently end up being installed:
In this new package, will we simply have I'm guessing that your plan is maybe just |
All ROS packages created in the ROS Buildfarm use the following prefix
Clarifying my original post (sorry for the confusion) the include paths that I expect to be used by the Drake pybind installation would be currently: Hope it helps to understand my original question. Let me know if you need more details. |
Just to double check -- we're aiming for Rolling for now because it's a useful and required stepping stone to reach Humble, yes? The ultimate goal of this SOW is to get Drake into both Humble and Rolling, so we will be pushing it down into Humble once we're happy with what it looks like in Rolling. Is that accurate? (In this case, prefix would be either
Yes, thanks. I'll need to check on a few things before I reply. |
Rolling is a good candidate to start with here because is consider as a "development" version and can fit well into our initial proposes of provide a testing package for Drake. It is not a requirement for Humble but yes, my plan is try to make the release in Rolling and release in Humble after that. Now both uses Ubuntu Jammy so the difference should be minimal.
That is correct.
No problem, take the time you need, not a blocker by now. |
After building the and installing If this is true and we can encapsulate Drake in I think that we can close this by now. |
That's fine by me. Let me just double-check that the outcome I care about is met ... When a user wants to compile & link against Drake in their own ROS project code, the spelling for that is both succinct and obvious:
In particular, they do not need to manually type in the "double opt" path you mention above -- the details about the exact path layout |
All three points are correct. Adding a
That is my expectation and the code changes I'm currently working on. |
Sounds great, thanks. |
While installing Drake using
make install
I saw that it is installing some pybind11 headers and CMake artifacts:I was not able to find any other header or installed file using these headers or CMake artifacts. @jwnimmer-tri Can we remove them or there is an use case that needs them to be installed?
The text was updated successfully, but these errors were encountered: