From dcbb13c52e432eb396990f3168a38a717290534a Mon Sep 17 00:00:00 2001 From: Axel HUYNH-PHUC Date: Wed, 12 Dec 2018 10:59:21 +0100 Subject: [PATCH] Updated How to run (markdown) --- How-to-run.md | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/How-to-run.md b/How-to-run.md index c28e7b0..6ece6be 100644 --- a/How-to-run.md +++ b/How-to-run.md @@ -6,18 +6,14 @@ You can use your own scenario file (osm.sumocfg file), see : http://sumo.dlr.de/ **With a Shell:** -`py ./emissions.py` +`> py ./emissions.py [-f CONFIGFILE] [-save] [-ref]` -Will launch a simulation with the default_config.json file. - -`py ./emissions.py -f configs/config1.json -save` - -Will load the configuration file "config1.json" and save logs into the logs directory - -`py ./emissions.py -f configs/config1.json -save -ref` - -By using -ref option it will launch a reference simulation (without acting on infrastructure and vehicles) - -By default logs will be in the logs file in the working directory with this format: +* [-f CONFIGFILE] : Choose your configuration file from your working directory +* [-save] : Save the logs, by default logs will be in the logs file in the working directory with this format: `sumo_project/logs/sumo_logs_{current_timestamp}.log` +* [-ref] : Launch a reference simulation (without acting on infrastructure and vehicles) + +Ex : `> py ./emissions.py -f configs/your_config.json -save -ref` + +