You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When writing an environment to URDF, tesseract_urdf currently only supports writing Mesh types, which excludes any geometry that is ConvexMesh or CompoundMesh. #1081 updates the parser to write PolygonMesh to URDF, but that still excludes any geometry that is a CompoundMesh.
Additionally, polygon, triangle, and compound meshes are all capable of being convex. It seems like having a separate CompoundMesh type is relatively restrictive, as opposed to having a method to determine whether a given mesh is convex.
Describe the solution you'd like
We should have a single abstract Mesh base class that all mesh types inherit from. That might look something like this (effectively the same as the current PolygonMesh, but without the containers for data). Note, not all of these methods may be necessary to include in the abstract base class.
This change would eliminate the somewhat unnecessary ConvexMesh class; allow users to use convex hulls defined as triangle, polygon, or compound meshes; and allow us to write all supported mesh types to URDF more easily.
Describe alternatives you've considered
None
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
tesseract_geometry
has a few classes of mesh geometries that are currently supported.When writing an environment to URDF,
tesseract_urdf
currently only supports writingMesh
types, which excludes any geometry that isConvexMesh
orCompoundMesh
. #1081 updates the parser to writePolygonMesh
to URDF, but that still excludes any geometry that is aCompoundMesh
.Additionally, polygon, triangle, and compound meshes are all capable of being convex. It seems like having a separate
CompoundMesh
type is relatively restrictive, as opposed to having a method to determine whether a given mesh is convex.Describe the solution you'd like
We should have a single abstract
Mesh
base class that all mesh types inherit from. That might look something like this (effectively the same as the currentPolygonMesh
, but without the containers for data). Note, not all of these methods may be necessary to include in the abstract base class.Then the class hierarchy could be something like this:
This change would eliminate the somewhat unnecessary
ConvexMesh
class; allow users to use convex hulls defined as triangle, polygon, or compound meshes; and allow us to write all supported mesh types to URDF more easily.Describe alternatives you've considered
None
Additional context
No response
The text was updated successfully, but these errors were encountered: