def test_topdown_view(make_cfg_settings): with habitat_sim.Simulator(make_cfg(make_cfg_settings)) as sim: tdv = TopdownView(sim, height=0.0, meters_per_pixel=0.1) topdown_view = tdv.topdown_view assert type(topdown_view) == np.ndarray
def test_topdown_view(sim): tdv = TopdownView(sim, height=0.0, pixels_per_meter=0.1) topdown_view = tdv.topdown_view assert type(topdown_view) == np.ndarray
def test_topdown_view(sim): tdv = TopdownView(sim, height=0.0, pixels_per_meter=0.1) topdown_view = tdv.topdown_view