question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AttributeError: 'habitat_sim._ext.habitat_sim_bindings.CameraSensor' object has no attribute 'render_camera'

See original GitHub issue

Habitat-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:open
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
erikwijmanscommented, Jul 2, 2021

Huh, looks like we tagged the wrong thing for 0.1.7. bdd94e31eaa6f28036e92456b3ad3772a283b871 should have been what was tagged. @mathfac can we retag it?

0reactions
rpartseycommented, Sep 12, 2022

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)?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found