facebookresearch / habitat-sim

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

How to check number of floors in the scene in mp3d dataset? #841

Closed Singh-sid930 closed 3 years ago

Singh-sid930 commented 3 years ago

❓ Questions and Help

Is there anyway we can found out how many floors are in the scene on which episode is running. And/or the floor which the robot is on ? We are working on the Mp3d Dataset.

Skylion007 commented 3 years ago

The semantic LEVELs attribute in MP3D is probably what you are looking for. Just to do a check for which AABB bounding box the agent is in. Also make sure to use the latest master as we just fixed. a bug with the bounding boxes in MP3D. #832

Example below in our ECCV tutorial https://colab.research.google.com/github/facebookresearch/habitat-sim/blob/master/examples/tutorials/colabs/ECCV_2020_Navigation.ipynb#scrollTo=6s1B7Kg5Megl