Skip to content
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

Wrong shortest path #167

Open
shsjxzh opened this issue Aug 1, 2019 · 2 comments
Open

Wrong shortest path #167

shsjxzh opened this issue Aug 1, 2019 · 2 comments

Comments

@shsjxzh
Copy link

shsjxzh commented Aug 1, 2019

Hi, I find that some shortest path shown in the nav map requires me to go through the closed door, which cannot be done temporarily. How can I get a correct shortest path?

You can run " python3 -m minos.tools.pygame_client --dataset mp3d --scene_ids 17DRP5sb8fy --env_config pointgoal_mp3d_s -s map --navmap" and sometimes it will show wrong path.

edit

@angelxuanchang
Copy link
Contributor

Thanks for reporting this. This is an error with having some configuration overridden by the --navmap option. Please try the updated 0.7.x branch with:
python3 -m minos.tools.pygame_client --dataset mp3d --scene_ids 17DRP5sb8fy --env_config pointgoal_mp3d_s -s map --navmap--collision_mode navgrid

@shsjxzh
Copy link
Author

shsjxzh commented Nov 17, 2019

@angelxuanchang Sorry for late response! The 0.7.x branch really works. However, when I try to run "gym/demo.py", I find that there is something wrong with this recent modification. I modify the code in the following way:

  if 'navmap' in dir(args):
        if args.navmap and type(args.navmap) == bool and sim_config.sim_defaults.get('navmap'):
            args.navmap = None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants