mitchellspryn / UrdfSim

Other
102 stars 25 forks source link

Custom Meshes - collision #47

Closed henry-tra closed 3 years ago

henry-tra commented 3 years ago

Hi,

I want to simulate a custom model. I have defined the generated the Ascii STL files in the mesh type but the collision part created errors and I still can not see any shapes, only coordinates (red circle):

stl_collision

Since I have not specified additional parameters, I thought that it would automatically use the BSP method. When I use the VHACD method (scale_factor="100" dynamic_collision_type="vhacd" vhacd_concavity="0.2" vhacd_output_folder_path="E:/UrdfSim/Examples/UrdfBot/LunabotParts/vhacd_bucket"), the errors are gone but I can only see the coordinates again and the invisible model just falls through the ground or spins around in the air.

Did somebody face the same problems and can help me please?