AttributeError: 'habitat_sim._ext.habitat_sim_bindings.CameraSensor' object has no attribute 'render_camera'
See original GitHub issueHabitat-Lab and Habitat-Sim versions
Habitat-Lab: v0.1.7, commit: d6ed1c0a0e786f16f261de2beafe347f4186d0d8
Habitat-Sim: v0.1.7, commit: 856d4b08c1a2632626bf0d205bf46471a99502b7
Docs and Tutorials
Did you check out the tutorials? https://aihabitat.org/tutorial/2020/ Right now, I am going through that.
❓ Questions and Help
I am using the stable release v0.1.7 for Habitat-Sim and Habitat-Lab, and I am going through this tutorial: https://github.com/facebookresearch/habitat-lab/blob/v0.1.7/examples/tutorials/nb_python/Habitat_Interactive_Tasks.py. But, I get this error:
Traceback (most recent call last):
File "examples/tutorials/nb_python/Habitat_Interactive_Tasks.py", line 753, in <module>
sim, "rgb", crosshair_pos=[128, 190], max_distance=2.0
File "examples/tutorials/nb_python/Habitat_Interactive_Tasks.py", line 706, in raycast
render_camera = sim._sensors[sensor_name]._sensor_object.render_camera
AttributeError: 'habitat_sim._ext.habitat_sim_bindings.CameraSensor' object has no attribute 'render_camera'
Could you please help me fix it?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
classA has no attribute `camera` error in Python - Stack Overflow
You do not call the super constructor in Something : class Something(MovingCameraScene): CONFIG = { "alpha": "beta" } def __init__(self, ...
Read more >habitat_sim.sensor.CameraSensor | Habitat Sim Docs
Should be consumed by first querying this CameraSensor's SensorSpec and then ... Camera get: Get the RenderCamera in the sensor (if there is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Huh, looks like we tagged the wrong thing for 0.1.7. bdd94e31eaa6f28036e92456b3ad3772a283b871 should have been what was tagged. @mathfac can we retag it?
Hi @gtatiya, have you managed to resolve the Issue? Have you tried using commit suggested by Oleksandr (https://github.com/facebookresearch/habitat-lab/commit/bdd94e31eaa6f28036e92456b3ad3772a283b871)?