https://github.com/carla-simulator/carla
Raw File
Tip revision: 7c2d0690e29ebf4d70cbef9b6e9dcd2fb6bec4e8 authored by Vimal on 06 September 2019, 07:19:37 UTC
Improved TrafficLightStage and some minor fixes
Tip revision: 7c2d069
README.md
# Traffic Manager

## Installing Traffic Manager

First of all, make sure that CARLA has already been installed, following the instructions on the documentation, and that you have built the different modules:

```

make launch
make PythonAPI
make package
make LibCarla

```

Then, after downloading the carla repository and extracting it, on the CMakeLists.txt file in ${CARLA_ROOT}/TrafficManager/ you must set an environment variable, LIBCARLA_LOCATION, to where your build of LibCarla resides. After this, you can do the following to build the traffic manager:

```

cd ${CARLA_ROOT}/TrafficManager/
mkdir build
cd build
cmake..
make

```

## Using Traffic Manager

Navigate back to build folder and run the compiled executable.


```

cd ${CARLA_ROOT}/TrafficManager/build/
./traffic_manager

```
back to top