... | ... | @@ -50,4 +50,9 @@ You can then open a new unity project into the folder where you cloned the repos |
|
|
* Under **RabbitMQ Settings**, make sure that the IP and port are corresponding to the one you put on the rpc_client.py script.
|
|
|
* Open the file named `TrafficLightObject.cs` under `Assets/my_scripts/SimulationObjects/` and modify the host and port to the one you put on the tl.py script.
|
|
|
|
|
|
You are good to go, launch the project and everything should be up and running. Make sure that you receive messages on the different python scripts, and if not, check the different steps again. |
|
|
\ No newline at end of file |
|
|
You are good to go, launch the project and everything should be up and running. Make sure that you receive messages on the different python scripts, and if not, check the different steps again.
|
|
|
|
|
|
# Extra Info
|
|
|
If you want to learn more about RabbitMQ you can look at these [tutorials](https://www.rabbitmq.com/getstarted.html). In particular we built the RPC client and server using info from this [tutorial](https://www.rabbitmq.com/tutorials/tutorial-six-python.html).
|
|
|
|
|
|
If you want to learn more about how the traffic lights work you can check out this [repo](https://gitlab.orbit-lab.org/jkol/traffic-light-arduino). |
|
|
\ No newline at end of file |