Skip to content
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

Add attribute to indicate if a mesh is a convex hull? #108

Open
Levi-Armstrong opened this issue Jan 23, 2018 · 4 comments
Open

Add attribute to indicate if a mesh is a convex hull? #108

Levi-Armstrong opened this issue Jan 23, 2018 · 4 comments

Comments

@Levi-Armstrong
Copy link

Would the maintainer be open to adding an an attribute to the mesh tag indicating if the mesh is a convex hull? The default would be false.

<mesh filename="" convex="true" />

@sloretz
Copy link
Contributor

sloretz commented Apr 13, 2018

Hi @Levi-Armstrong, did you have a particular use-case? It might be a topic worth opening up on https://discourse.ros.org/c/robot-description-formats

@gavanderhoorn
Copy link

The use-case here is to utilise this information in planners / collision checkers that can enable certain optimisations when the meshes they are passed are convex. One example would be FCL, which has optimised implementations for convex-convex algorithms.

As this is a property of the mesh that is difficult/impossible to derive at runtime, adding an optional attribute to the mesh element seems like a straightforward way to encode it.

@Levi-Armstrong
Copy link
Author

@sloretz As @gavanderhoorn mentioned this is the main factor. Most of the collision libraries use libccd to perform convex-convex collision checking and it also provides the minimum translation vector when in collision which would could be used by several optimization based motion planners.

@de-vri-es
Copy link

de-vri-es commented Apr 16, 2018

Hi @Levi-Armstrong, did you have a particular use-case? It might be a topic worth opening up on https://discourse.ros.org/c/robot-description-formats

Thread on discourse: https://discourse.ros.org/t/add-attribute-to-indicate-if-a-mesh-is-a-convex-hull/4479

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants