Closed norujumping closed 7 months ago
Hey @norujumping,
Have you tried enumerating the object templates available to check that they were loaded correctly and to identify the correct handle?
print(obj_templates_mgr.get_template_handles(""))
Should tell you what was actually loaded. Hard to help without knowing a bit more (e.g. seeing some log output)
Hey,
When I enumerate the object templates, I can't find any objects added
print(obj_templates_mgr.get_template_handles(""))
While this is what I have in the objects/example_objects
folder
The main issue here is that these objects have outdated configs. Habitat after 0.2.0 will not support ".phys_properties.json" files. Instead you should use ".object_config.json". So the objects are not being loading by the load_configs
call.
You can get updated example objects here: http://dl.fbaipublicfiles.com/habitat/objects_v0.2.zip Or a full dataset of YCB objects here: https://huggingface.co/datasets/ai-habitat/ycb (the example cheezit box is from YCB originally).
Thank you so much!! it works with the ".object_config.json"
❓ Questions and Help
I have installed habitat-sim v0.3.0 from source and was trying to add interactive rigid objects following tutorial
I also downloaded the necessary essets so that
However, I get error in below lines
The files are downloaded correctly because
load_configs
is running without error, and the loading of spheres works without error.I believe this is the same problem addressed in https://github.com/facebookresearch/habitat-sim/issues/951
It was resolved uisng version v0.1.7, but I think the problem persists in v0.3.0
Do we require different ways for loading custom objects to the scene, other than the method written in the tutorials?