This repo contains an initial infrastructure for orchestrating simulation components. This was a quick prototype to demonstrate functionality and is now deprecated.
There is an example simulation which consists of the following components.
- The control module starts the simulation by publishing a message to all the other components to start up under the
topic/control
. - The ground sensors act as publishers using data from CSV files taken from the USGS website publishing data to
topic/sensors
on an interval as determined by the control module. - The satellite listens to the sensor topic and repeats the data to
topic/satellite
. - The groundstation acts as a subscriber to
topic/satellite
and prints the data to the console.
To interact with the system, go to localhost
in the browser and you will be presented with a dashboard.
The only prerequisite is having Docker installed on your system.
To start the example simulation, run the following command.
$ docker-compose -f docker-compose.example.yml up
To start the simulation, run the following command.
$ /bin/bash init.sh
$ docker-compose up
The first command clones all the repositories listed in init.sh
into the folder components. After running, it is good practice to run the following command to negate cached data.
$ docker-compose down
And this command for the same reason regarding the example simulation.
$ docker-compose -f docker-compose.example.yml down
Direct any questions to [email protected]