-
Install the Carla library into Python.
CD to Carla/PythonClient folder, then type:
pip install -e .
-
install the package, CD to gym-carla folder, then either:
to copy & install
pip install .
to be able to edit the code and install:
pip install -e .
Carla_0.8.4 fix the collision counting problem and is requred here.
-
To use, import the gym_carla package in the code, together with gym.
import gym
import gym_carla
client = gym.make('Carla-v0')
then it can be used by calling functions of seed, reset, step, close, render
-
To launch Carla, add CarlaUE4 to PATH, then use the script launch_carla.bat or launch_carla.sh to launch Carla.
-
Notifications
You must be signed in to change notification settings - Fork 3
JuanYan/Carla-packed-as-Gym
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published