-
Notifications
You must be signed in to change notification settings - Fork 3
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
Investigate using python bindings of sdformat instead of the gz
command line
#30
Comments
There is indeed no package on PyPI. On conda-forge the package are sdformat13-python and sdformat14-python, see https://github.com/conda-forge/libsdformat-feedstock and ami-iit/jaxsim#89 (comment) . |
Excellent, maybe instead of replacing the usage of In this way, we can slim down significantly our conda environments that install a full Gazebo suite just for having |
Yes, that probably gets the best of both worlds, all dependencies installed in conda-forge while the possibility still of installing the library via pip by relying on gz installed in the system. |
Referring #34 (comment), we managed to perform the URDF to SDF conversion by only requiring I'll leave this issue open as help wanted in case someone wants to try again (and I mean, using the python bindings as alternative method not as replacement). In the meantime, I can live happy by calling |
Not directly related to this issue, but on the topic of supporting URDF --> SDF conversions when rod is installed via pypi . After gazebosim/sdformat#1489, the |
This is a long awaited feature, it would be a great addition to the package! Beyond vcpkg, another good enough option would be using Something to keep in mind:
All of this is true if a cmake-based build backed is used. The advantage of doing so is that a Curiosity, are we sure that the binary is by default standalone? My intuition tells me that the dependent libraries should be compiled as static for that aim. |
Starting from version 13, sdformat introduced native Python bindings. It's worth investigating if we could just call this library (that depends only on sdformat) instead of requiring to find the entire Gazebo Classic or Gazebo Sim suite.
Few comments:
The text was updated successfully, but these errors were encountered: