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

Didn't see moving obstacle, am I run it in the wrong way? #2

Open
mushixuan opened this issue Mar 7, 2018 · 4 comments
Open

Didn't see moving obstacle, am I run it in the wrong way? #2

mushixuan opened this issue Mar 7, 2018 · 4 comments

Comments

@mushixuan
Copy link

mushixuan commented Mar 7, 2018

thank you for your inspiring project
I have "director simulator.py" successfully and it looks like the picture below.
_20180308105236
all the obstacles are stationary.
I think it's an moving obstacle simulation right?
Do I do something wrong?

and when I “director simulator.py”, error occurs like this:
_20180308105503
how could I fix this?

@mushixuan mushixuan changed the title why directorPython can‘t import tensorflow when python can? Didn't Mar 8, 2018
@mushixuan mushixuan changed the title Didn't Didn't see moving obstacle, am I run it in the wrong way? Mar 8, 2018
@anassinator
Copy link
Owner

Hi @mushixuan

To enable moving obstacles you just need to run:

director simulator.py --moving-obstacle-ratio <RATIO_OF_MOVING_OBSTACLES>

Just replace <RATIO_OF_MOVING_OBSTACLES> with a number between 0 and 1. This controls how many of the obstacles are moving vs stationary.

You might also find some other command-line arguments useful. You can see them all as follows:

director simulator.py --help

Hope this helps.

@zhaoxinyizhf
Copy link

I met the same question with you. DirectorPython can‘t import tensorflow while python can. I have installed the Python3.6.3, tensorflow 1.6.0. Is the problem of version? How did you solve it?

@anassinator
Copy link
Owner

At the moment, I believe this only works with Python 2.7

@zhaoxinyizhf
Copy link

I see. Thank you so much.

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

3 participants