eleramp / pybullet-object-models

Collection of object models compatible with pybullet simulator https://github.com/bulletphysics/bullet3/tree/master/examples/pybullet
GNU Lesser General Public License v2.1
93 stars 26 forks source link

load other YCB object #3

Open shivanimall opened 3 years ago

shivanimall commented 3 years ago

Hi @eleramp

I am trying to load other YCB objects than the ones you have, and I am wondering if blender v-hcad is the only option to generate the collision_vhcad files? I am facing some issues with blender v-hcad geenration. In particular I am urgenly in need of wood_block YCB object (036_wood_block)

Thank you

eleramp commented 3 years ago

Hi @shivanimall a possibility could be to directly use pybullet, which has a script to generate the vhcad decomposition here: https://github.com/bulletphysics/bullet3/tree/master/Extras/VHACD/test/src

It converts convex triangle mesh in an OBJ file into a new OBJ file with multiple convex hull objects.

Otherwise, if you don't need realistic collision detection, you can start by using the same mesh file both for visualization and collision.

shivanimall commented 3 years ago

thanks for the response @eleramp will try out and update.

ethanabrooks commented 2 years ago

@shivanimall, did you have any luck with this? I am also in need of the other YCB objects. Happy to lend a hand if I can.