facebookresearch / habitat-sim

A flexible, high-performance 3D simulator for Embodied AI research.
https://aihabitat.org/
MIT License
2.68k stars 427 forks source link

It is unable to compute navmesh from `.ply(or .ojb etc.)`? Only can use recompute from .glb? #1982

Open GuoPingPan opened 1 year ago

GuoPingPan commented 1 year ago

If it is only can recompute navmesh from .glb? Because when I load simulator by .glb it cam recompute successfully, but when I turn to .ply, here comes an error:

AssertionError: ESP_CHECK failed: ::recomputeNavMesh: Unable to compute a navmesh upon a non-existent mesh - the underlying joined collision mesh has no vertices. This is probably due to the current scene being NONE.

and when I put the .navmesh in the same folder of .ply, then it run successfully against.

So I want to know how to get the navmesh from ply just like Rplica Dataset:

image

I don't think it was been changed ply to glb then compute navmesh.

And I also hope that can provide more examples for creating dataset for pointnav、rearrangement and any other tasks just like create_pointnav_dataset.py.

I will be very grateful for your help!

Skylion007 commented 1 year ago

It should support computing a navmesh on any mesh type that is supported. It could be some issue the .ply reader from being able to read the .ply file.