ericchen321 / ros_x_habitat

A bridge betwwen the ROS ecosystem and AI Habitat.
101 stars 20 forks source link

demo instruction #5

Closed hpf9017 closed 1 year ago

hpf9017 commented 2 years ago

Hi,

Do you have some document to run a demo ? @ian-mitchell @ericchen321 @yhymason

Thank you very much!

ericchen321 commented 2 years ago

Hi Pengfei, sorry about the delayed reply... I'll upload the instructions over this weekend.

ericchen321 commented 2 years ago

Hey @hpf9017 I've updated a part of the steps. I don't have the machine at the moment so can't test them myself, so please let us know if you get any errors.

I'll upload the remaining steps in the coming days.

hpf9017 commented 2 years ago

Hey @hpf9017 I've updated a part of the steps. I don't have the machine at the moment so can't test them myself, so please let us know if you get any errors.

I'll upload the remaining steps in the coming days.

ok, thank you very much! I'll have a try @ericchen321

hpf9017 commented 2 years ago

I can run the Navigating ROS Agent in Habitat Sim, but it doesn't show the scene as habitat sim example. Screenshot from 2021-12-15 02-45-31

does this problem in the picture matter, or what could be the problem? @ericchen321

hpf9017 commented 2 years ago

@ericchen321 I have solved the problem, and run the demo successfully by python3 src/scripts/roam_with_joy.py --hab-env-config-path ./configs/roam_configs/pointnav_rgbd_roam_mp3d_test_scenes.yaml --episode-id -1 --scene-id ./data/scene_datasets/mp3d/2t7WUuJeko7/2t7WUuJeko7.glb2t7WUuJeko7/2t7WUuJeko7.glb

the reason is that I used the wrong --episode-id with 1.

frischzenger commented 2 years ago

@ericchen321 I have solved the problem, and run the demo successfully by python3 src/scripts/roam_with_joy.py --hab-env-config-path ./configs/roam_configs/pointnav_rgbd_roam_mp3d_test_scenes.yaml --episode-id -1 --scene-id ./data/scene_datasets/mp3d/2t7WUuJeko7/2t7WUuJeko7.glb2t7WUuJeko7/2t7WUuJeko7.glb

the reason is that I used the wrong --episode-id with 1.

I want to know if you run this command with rosxhab environment? when I run this under rosxhab, it report PyQt5 and PySide2 errors thanks!

ericchen321 commented 2 years ago

@frischzenger I'm also running into PyQt5/PySide2 errors and I'm trying to figure out why.

When I was setting up roxshab back in June I didn't have this problem. So I suspect it's due to some later Ubuntu updates (to ROS-related packages).

ericchen321 commented 1 year ago

@frischzenger I hope you've resolved the issue but in case you have not yet, I just updated the code so it's compatible with the most recent ROS Noetic updates. Also added more detailed instructions on running ROS planner in Habitat Sim in the readme.