... | ... | @@ -38,7 +38,7 @@ On the server side, you have some modifications to do. Go to the folder where yo |
|
|
You can the launch RabbitMQ by launching `sudo rabbitmq-server start` and then launching those scripts :
|
|
|
* `./rpc_client.py`
|
|
|
* This script should be run on the linux machine (the node in our case).
|
|
|
* `./rpc_server.py [car ID] [RabbitMQ IP address] [subscriptions]` by replacing [car ID] by a name/number of your choice, [RabbitMQ IP address] by the ip address where RabbitMQ is running (normally, it should be localhost), and finally [subscriptions] by whatever you want the car to be subscribed to. An example would then be : `./rpc_serv.py car1 localhost *.side`.
|
|
|
* `./rpc_server.py [car ID] [RabbitMQ IP address] [subscriptions]` by replacing [car ID] by a name/number of your choice, [RabbitMQ IP address] by the ip address where RabbitMQ is running (normally, it should be localhost), and finally [subscriptions] by whatever you want the car to be subscribed to. An example would then be : `./rpc_server.py car1 localhost *.side`.
|
|
|
* For each car you have you will need to start a rpc_server.py script with a unique car ID. This script will be running on the cars.
|
|
|
* `./tl.py`
|
|
|
|
... | ... | |