Vehicle simulator for Roataway. It produces telemetry that resembles that of an actual vehicle moving along a predefined route. The data are published over MQTT.
The vehicle will stop at stations for a while, then move on.
Install the dependencies, then run it:
python main.py --segments ../infrastructure-data/data/route_1_segments.json --stations ../infrastructure-data/data/route_1_stations.json
- For data about segments and stations, see https://github.com/roataway/infrastructure-data
- You can simulate as many vehicles as you want, by running multiple copies of this process