Closed zkytony closed 4 years ago
I see. There is a configuration parameter, in examples/settings
"physics_config_file": "./data/default.phys_scene_config.json",
It's set to be relative to the root directory of habitat-sim
repository.
Yeah, we may want to update that via our gitpython hack for finding the root directory of Habitat-Sim that we use in the colab tutorials.
BTW, we haven't advertised it yet because we haven't transferred the text from the RST, but that particular tutorial is available in colab: https://colab.research.google.com/github/facebookresearch/habitat-sim/blob/master/examples/tutorials/colabs/rigid_object_tutorial.ipynb
Cool, thanks for the colab link. It's fine now when I set my own physics_config_file
parameter!
🐛 Bug
I am following the tutorial "rigid_object_tutorial.py". It was strange to me that when I
cd
into thehabitat-sim/examples/tutorials
directory, and runI get the error:
However, when I am outside of the
examples/tutorials
directory and run it (as suggested on the Doc),I don't get that error.
Why would this happen? I wouldn't expect the program's output would be different because of the path it is being run from.
Command
# command that you run
To Reproduce
Steps to reproduce the behavior:
cd
into thehabitat-sim/examples/tutorials
directorypython rigid_object_tutorial.py
(Get the error)Expected behavior
No error in both cases.
System Info