Recommended OS Ubuntu 16 to run the code
- Install latest version of V-Rep Pro Edu
- Python 2.7 is required
- Install latest version of tensorflow using pip install tensorflow
Navigate to where simulator is downloaded and use path of provided environment file
./vrep.sh quad_env.ttt
To run in headless mode ./vrep.sh -h quad_env.ttt
Download provided code and navigate to the downloaded folder
$ python main.py [algorithm] [action] [number of episodes] [steps per episode]
options | values |
---|---|
algorithm | pg or vpg or ppo |
action | eval or train |
number of episodes | default = 200 |
steps per episode | default = 50 |