Open manuelli opened 3 years ago
This appears to be fixed on the tip of master
. @mmatl Any chance we can bump the version and push a new package to pypi so this is fixed in the versions installed via pip
or conda
?
@miker2 for what regard the conda-forge build, if you have any idea of what is the commit that fixed the issue we can try to backport it on the top of the latest release, as we did for another issue (https://github.com/mmatl/urdfpy/issues/27) in https://github.com/conda-forge/urdfpy-feedstock/pull/3/files .
@traversaro I believe it's this commit that resolves the problem: https://github.com/mmatl/urdfpy/commit/5466842899b33bd549e8f9e2a9a987bd5e37373b
I verified that installing from source from the master
branch resolved the problem for me.
@traversaro I believe it's this commit that resolves the problem: 5466842
I verified that installing from source from the
master
branch resolved the problem for me.
Ok, I opened a PR to backport the fix in the conda-forge released version in https://github.com/conda-forge/urdfpy-feedstock/pull/5, thanks!
If
g = Cylinder(1.0, 2.0)
and you try to access theg.meshes
field then it throws the following errorThis is because
self._meshes
got initialize toself._meshes = None
on this line instead ofself._meshes = []
like in the other primitive types, e.g. Box. Should be a simple fix to just setself._meshes = []
in theCylinder
constructor.