dqn-obstacle-avoidance icon indicating copy to clipboard operation
dqn-obstacle-avoidance copied to clipboard

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

Open mushixuan opened this issue 7 years ago • 4 comments

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 avatar Mar 07 '18 13:03 mushixuan

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.

anassinator avatar Mar 09 '18 07:03 anassinator

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?

zhaoxinyizhf avatar Mar 22 '18 07:03 zhaoxinyizhf

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

anassinator avatar Mar 22 '18 14:03 anassinator

I see. Thank you so much.

zhaoxinyizhf avatar Mar 23 '18 06:03 zhaoxinyizhf