@@ -7,6 +7,28 @@ Prev: [Installing and using the Basic Simulator](docs/usage.md) | Next: [S
*Comming Soon*
> - Git recap
> - Branches, local repos, commits, push/pull.
> - Merge requests
> - Maven project: pom file and project structure
> - Pom file:
> - describes the project name and version
> - dependencies
> - importing into maven
> - Project structure:
> - sources under src/main or src/test -> used by maven for the resulting jar / for the tests.
> - java or resources folder
> - docs / scripts / utility folders
> - target folder: contains all the results of the build, including the jar.
> - Packaging: try to use consistent package structure.
> - Maven dependency system: nexus, local repository and versioning
> - Nexus: from the SE chair, contains all the versions from the master branch. Linked to in settings.xml.
> - Local repository: (.m2/repository under windows) contains the dependencies from the nexus + the projects compiled using the "install" target: you can override versions/...
> - Versioning: use next version with -SNAPSHOT when developing in a branch. Refer to this version locally. The commit that will be merged to master must NOT contain the -SNAPSHOT.
This will create a folder named `basic-simulator` and download the contents of this repository inside.
> **NOTE**: To open a console rapidly in windows, type "cmd" in the navigation bar of the windows explorer and press *Enter*.
> **NOTE**: To open a console in a specific working directory rapidly in windows, type "cmd" in the navigation bar of the windows explorer and press *Enter*.
> Choose *Right Clic -> Open in terminal* on the folder under Linux.
>
> 
...
...
@@ -46,28 +46,29 @@ java -jar basic-simulator.jar
```
This will open a window listing the available **autopilots**, **maps**, **scenarios** and simulation **results**. These are
located alongside the basic-simulatorjar inside folders with the same names.
located alongside the `basic-simulator.jar` file inside folders with the same names.
By selecting a **scenario**, you can press the "Start Simulation" button to run this scenario in the simulator.

**NOTE**: *Currently the output of the simulation is only shown in the console.*
> 
>
> **NOTE**: *Currently the output of the simulation is only shown in the console.*
You can start a simulation directly without interacting with the GUI by passing a scenario name as command line argument
to the simulator:
```batch
java-jar basic-simulator.jar straight
```
> *This would start a simulation directly with the scenario "straight"*
>
> *This can be used in a script as well*
> - *This would start a simulation directly with the scenario "straight"*
> - *This can be used in a script as well*
## Scenario format
The Basic Simulator uses **JSON** scenarios. This is for easier prototyping and parsing of the scenarios. The scenario "straight" is a good
example of how to configure a scenario. For the complete configuration entries currently supported, look at the entries in the `BasicController.ScenarioSettings` enum.
The configuration specific to vehicles can be seen in `VehicleBuilder.VehicleSettings`.
The Basic Simulator uses **JSON** scenarios. This is for easier prototyping and parsing of the scenarios. The scenario [straight](../install/scenarios/straight.json) is a good
example of how to configure a scenario. For the complete configuration entries currently supported, look at the entries in the