-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sim settings update #1920
Sim settings update #1920
Conversation
Thanks for thinking through these quality of usage issues. |
d0740d0
to
50776e7
Compare
36caa7a
to
7a4e545
Compare
efb097e
to
f9ad2ab
Compare
b6fe357
to
3707be8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of design thoughts.
sensor_cfg = {**default_sensor_settings, **sensor_cfg} | ||
uuid = sensor_cfg["uuid"] | ||
|
||
sensor_type = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of pivoting off sensor name substrings, maybe we include "sensor_type" and "sensor_subtype" as fields in the sensor settings dict defaulting to color pinhole.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, I think it might be okay to pivot off sensor name for the camera type (i.e. fisheye
, equirect
) unless we also pass in the camera spec type (i.e. habitat_sim.FisheyeSensorDoubleSphereSpec
, habitat_sim.EquirectangularSensorSpec
) in the sensor_settings_dict. But sensor_type and sensor_subtype will be updated to use the sensor settings dict
Fails lab_build_habitat on the build machine, but passes it on my local machine |
@NakuraMino Yes I saw, thank you! I was using that as a reference, I just wanted to put it all in one PR for simplicity. I am basically copying all that work over to this PR |
…sim_settings, as well as updating all the ECCV tutorials accordingly
Hi @NakuraMino! Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours needs attention. You currently have a record in our system, but the CLA is no longer valid, and will need to be resubmitted. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
…ction and refactored settings.py file
…pdate_sensor_settings function. Also fixed an error I made setting the default sim settings in the ECCV scripts
Motivation and Context
The current
habitat_sim.utils.settings.make_cfg()
fn is limited to single first person sensors with the uuidcolor_sensor
,semantic_sensor
etc.e.g.
where
camera_sensor_spec.position = [0, settings["sensor_height"], 0]
.Since many of the examples in
examples/colabs/
use a 1st person sensor AND a 3rd person sensor (e.g. https://github.com/facebookresearch/habitat-sim/blob/main/examples/tutorials/nb_python/ECCV_2020_Interactivity.py#L178), it would be best if you could flexibly add multiple cameras throughsim_settings
.How Has This Been Tested
This passes CI/CD, and these changes are also tested through
pytest tests/*.py
. They all pass.Types of changes
Checklist