Capsules #294
kavonszadkowski
started this conversation in
Ideas
Capsules
#294
Replies: 2 comments
-
Instead of replacing the capsules by other meshes, we could just calculate the output for sphere and cylinder on the fly, similar to the new Mesh Inertia Calculation (#146). SDF does not handle capsules either. So we best, make this a util function. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Pushed to 1.1 . Could be done via Principle Component Analysis of the point cloud. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, capsules for collision objects or visual objects are not supported by URDF and dealing with them is thus a bit problematic. However, there is some discussion to add them to URDF at some point, and they might at least end up in the successor of URDF.
Also, Blender allows to add them using its Extra Objects add-on, which would have to be activated from within Phobos.
I propose to solve this issue by simply adding capsules as a geometry type and add an operator that allows to transform them into two cylinders and two spheres for URDF compatibility. Object properties such as simulation friction or collision settings etc. would have to be copied to all new objects.
Beta Was this translation helpful? Give feedback.
All reactions