ray/examples/carla
Eric Liang 0ae660ce4e [carla] In carla example, save all images and measurements to local disk (#1350)
* revamp saving

* smaller jpgs

* hide verbose

* Tue Dec 19 22:25:01 PST 2017

* make sure temp dirs sort lexiographically

* save total reward too

* zero pad i

* 160x160 dqn

* ever higher res dqn
2017-12-21 15:19:55 -08:00
..
env.py [carla] In carla example, save all images and measurements to local disk (#1350) 2017-12-21 15:19:55 -08:00
README [Examples] Add Carla test env (#1343) 2017-12-19 12:57:58 -08:00
train_dqn.py [carla] In carla example, save all images and measurements to local disk (#1350) 2017-12-21 15:19:55 -08:00
train_ppo.py [carla] In carla example, save all images and measurements to local disk (#1350) 2017-12-21 15:19:55 -08:00

(Experimental) gym environment for https://github.com/carla-simulator/carla

To run, first download and unpack the Carla release from this URL: https://github.com/carla-simulator/carla/releases/tag/0.7.0

Then, you can try running env.py to drive the car. Run train_ppo.py or train_dqn.py to attempt training.

    $ pkill -9 Carla
    $ export PYTHONPATH=/home/ubuntu/CARLA_0.7.0/PythonClient:$PYTHONPATH
    $ export CARLA_SERVER=/home/ubuntu/CARLA_0.7.0/CarlaUE4.sh
    $ python env.py

Note that the reward function is currently hard-coded to drive straight down the street.