facebookresearch / habitat-sim

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

In ``ECCV_2020_Navigation.ipynb``,``sim.scene_aabb.y()`` is not accessible. #2431

Open Yonggie opened 4 months ago

Yonggie commented 4 months ago

Habitat-Sim version

v0.2.5

🐛 Bug

In ECCV_2020_Navigation.ipynbsim.scene_aabb.y() is not accessible.

    # @markdown 3. Display trajectory (if found) on a topdown map of ground floor
    if found_path:
        meters_per_pixel = 0.025
        height = sim.scene_aabb.y().min

图片

What is the new alternative way to access this data?

jonghochoi commented 4 months ago

this modification works for me.

scene_bb = sim.get_active_scene_graph().get_root_node().cumulative_bb
height = scene_bb.y().min