|
|
![basic-simulator banner](img/basic-sim-banner.png "Basic-simulator artwork.")
|
|
|
|
|
|
The **basic-simulator**, when compiled, is a self-contained jar capable of running complete simulations. It runs locally on one machine and is therefore well suited for rapid testing and debugging.
|
|
|
|
|
|
## Running
|
|
|
|
|
|
After cloning and compiling the [basic-simulator repository](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/basic-simulator), the program can be started using the `run.bat` or `run.sh` script inside `basic-simulator/install`.
|
|
|
|
|
|
The following window should open:
|
|
|
|
|
|
![basic-simulator GUI](img/basic-sim-gui.png "Basic-simulator GUI.")
|
|
|
|
|
|
The browser on the left shows the content of the folders that are alongside the `basic-simulator.jar` file. The **OSM maps** can be visualized by selecting them. When selecting a **scenario**, it will immediately load the corresponding simulation and show *simulation controls* at the top. Using these, simulations can be started, paused and reset. The speed at which the simulation should run can also be set.
|
|
|
|
|
|
> The map visualization can be used to copy coordinates (for scenarios).
|
|
|
|
|
|
## Debugging (Advanced)
|
|
|
|
|
|
TODO |
|
|
\ No newline at end of file |