... | @@ -11,7 +11,7 @@ You have two options to get the files needed for the Unity project : |
... | @@ -11,7 +11,7 @@ You have two options to get the files needed for the Unity project : |
|
* Clone [this repository](https://gitlab.orbit-lab.org/traffic-simulator/sumo) to a folder on your computer : `git clone --recurse-submodules https://gitlab.orbit-lab.org/traffic-simulator/sumo.git`.
|
|
* Clone [this repository](https://gitlab.orbit-lab.org/traffic-simulator/sumo) to a folder on your computer : `git clone --recurse-submodules https://gitlab.orbit-lab.org/traffic-simulator/sumo.git`.
|
|
* If somehow the cloning fails, you can also download the 2 sub-repositories here : [sumo-unity](https://gitlab.orbit-lab.org/traffic-simulator/sumo-unity) and [sumo-simulator](https://gitlab.orbit-lab.org/traffic-simulator/sumo-simulator) and unzip them to a location of your choice.
|
|
* If somehow the cloning fails, you can also download the 2 sub-repositories here : [sumo-unity](https://gitlab.orbit-lab.org/traffic-simulator/sumo-unity) and [sumo-simulator](https://gitlab.orbit-lab.org/traffic-simulator/sumo-simulator) and unzip them to a location of your choice.
|
|
|
|
|
|
Once you have these files, you can open Unity Hub and add a new project as the folder where sumo-unity is located on your computer. The scene named "scene" is the main scene you will be interacting with. Make sure that Sumo Config File is set to `<path-to-sumo>\sumo-simulator\config.sumo.cfg` (choose your sumo-simulator clone or download folder).
|
|
Once you have these files, you can open Unity Hub and add a new project as the folder where sumo-unity is located on your computer. The scene named "scene" is the main scene you will be interacting with. Under the hierarchy, open the game object SumoConnection, and make sure that inthe inspector the setting `Sumo Config File` is set to `<path-to-sumo>\sumo-simulator\config.sumo.cfg` (choose your sumo-simulator clone or download folder).
|
|
|
|
|
|
### Central server
|
|
### Central server
|
|
This part of the system is supposed to run on a different computer than the one where Unity and SUMO runs. It is designed primarily to run on a linux machine. You first have to clone the [PubSub](https://gitlab.orbit-lab.org/traffic-simulator/pubsub) repository to get all the scripts : `git clone https://gitlab.orbit-lab.org/traffic-simulator/pubsub`
|
|
This part of the system is supposed to run on a different computer than the one where Unity and SUMO runs. It is designed primarily to run on a linux machine. You first have to clone the [PubSub](https://gitlab.orbit-lab.org/traffic-simulator/pubsub) repository to get all the scripts : `git clone https://gitlab.orbit-lab.org/traffic-simulator/pubsub`
|
... | | ... | |