Comments (8)
Hey @BoLeiChen , I hope you've fixed the problem but if you haven't:
The error here says habitat_sim.physics
is a null object. Since the module should be in <path to your conda env>/lib/python3.6/site-packages/habitat_sim/physics.py
, I guess something is off with your Habitat Sim installation. I just updated the installation instructions, and for Habitat Sim specifically I'm now suggesting to install from conda as opposed to by building from source. Hope it helps.
Sorry for the late reply. I've been busy with other stuff for the past month.
from ros_x_habitat.
I've also meeting this problem, have you solved it?
from ros_x_habitat.
Hey @BoLeiChen , I hope you've fixed the problem but if you haven't:
The error here says
habitat_sim.physics
is a null object. Since the module should be in<path to your conda env>/lib/python3.6/site-packages/habitat_sim/physics.py
, I guess something is off with your Habitat Sim installation. I just updated the installation instructions, and for Habitat Sim specifically I'm now suggesting to install from conda as opposed to by building from source. Hope it helps.Sorry for the late reply. I've been busy with other stuff for the past month.
i ve tried both install from source and conda install, both this error
I tested the physics env in habitat sim, it works fine,
from ros_x_habitat.
Same problem here. ROS agent not working with habitat and getting:
AttributeError: 'NoneType' object has no attribute 'motion_type'
(habitat installed using conda and habitat-sim seems to work properly)
from ros_x_habitat.
@JulioPlaced I ran the same command the OP used:
python src/scripts/eval_and_vis_habitat.py --input-type rgbd --model-path data/checkpoints/v2/gibson-rgbd-best.pth --task-config configs/setting_4_configs/pointnav_rgbd-mp3d.yaml --episode-id -1 --seed-file-path seeds/2_seeds.csv --log-dir logs --make-maps --map-dir maps --make-plots --plot-dir plots
But I didn't get the error. From your error message I can tell PhysicsEnv.rigid_obj_mgr.get_object_by_handle() returned a NontType
object, though it should've returned an object of type habitat_sim._ext.habitat_sim_bindings.ManagedBulletRigidObject
which contains motion_type
attribute. So probably something went wrong inside that function?
FYI 1) if I take a step back and print out obj_handles
I can see
['locobot_merged_:0000']
; 2) I built Habitat Sim 0.2.0 from source but I guess you installed the same version from conda. I'm not expecting any discrepency between source/conda build but considering the fact that get_object_by_handle() resides in Habitat Sim and that method might be where the problem comes from, I may try the conda build as well.
from ros_x_habitat.
I got this error while running python src/scripts/roam_with_joy.py
but I guess the problem is equivalent as it is related to not correctly getting the object habitat_sim.
Habitat-sim physics seem to work fine when running habitat examples. So I don't know why this problem is appearing. Also locobot merged was handled successfully in my case too.
Let me try compile habitat 0.2.0 from source instead of using conda, just in case.
from ros_x_habitat.
I've also meeting this problem, have you solved it?
from ros_x_habitat.
I've also meeting this problem, have you solved it?
you need to download default.physics_config.json to data directory
from ros_x_habitat.
Related Issues (20)
- Error ROS agent in Habitat HOT 1
- ROS agent in Habitat HOT 2
- Catkin workspace
- Is it okay to run under python 3.7 HOT 1
- Cannot find data/objects/locobot_merged as directory
- AttributeError: 'NoneType' object has no attribute 'motion_type' HOT 1
- Support for Habitat 2 and other ROS versions HOT 3
- Some questions for Navigating Habitat Agent in Gazebo HOT 1
- TypeError: (): incompatible function arguments. The following argument types are supported:
- TypeError: (): incompatible function arguments. The following argument types are supported: HOT 1
- Adding Support for ROS 2 HOT 2
- Initialize with different Agent Position and seeding HOT 1
- how to set up semantic sensor?
- Is there a docker image available?
- TypeError: metaclass conflict HOT 4
- Inquiry on data/scene_datasets/mp3d/ directory HOT 7
- Installation Issues HOT 6
- ROS agent in Habitat sim: issue with odom not being published for rtabmap example HOT 1
- Always 2t7WUuJeko7 scene HOT 1
- Import Error: cannot import name 'Config' from 'habitat.config'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ros_x_habitat.