From 97313b5117ed81110adebd3603b554dedf271b25 Mon Sep 17 00:00:00 2001 From: Lara CODECA Date: Mon, 14 Jan 2019 12:55:39 +0100 Subject: [PATCH] tested with sumo 1.1.0, 1.0.1 and 1.0.0 --- README.rst | 15 ++++++++++----- examples/simple.example.py | 6 +++--- examples/subscriptions.example.py | 4 ++-- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/README.rst b/README.rst index aad7188..edf5dbe 100644 --- a/README.rst +++ b/README.rst @@ -11,13 +11,18 @@ December 5-7, 2018, Taipei, Taiwan. -------- Reqirements: -* It requires at least [SUMO 1.0](https://github.com/eclipse/sumo/tree/v1_0_0). -* Due to [Issue #4518](https://github.com/eclipse/sumo/issues/4518) it requires the development - version of [SUMO](https://github.com/eclipse/sumo.git) in order to use multi-threading. +* It requires at least [SUMO 1.0.0](https://github.com/eclipse/sumo/tree/v1_0_0). +* It requires at least [SUMO 1.0.1](https://github.com/eclipse/sumo/tree/v1_0_1) + if multi-threading is needed. Tested with: -* Eclipse SUMO Version Development 5345f89a38 (Build features: Linux-4.18.0-1-amd64 x86_64 GNU 8.2.0 Proj GUI GDAL FFmpeg OSG GL2PS SWIG) -* Eclipse SUMO Version 1.0.1 ( Build features: Linux-4.18.0-1-amd64 Proj GUI GDAL FFmpeg OSG GL2PS SWIG) +* Eclipse SUMO Version 1.1.0 + Build features: Linux-4.18.0-3-amd64 x86_64 GNU 8.2.0 Release Proj GUI GDAL FFmpeg OSG GL2PS SWIG +* Eclipse SUMO Version 1.0.1 + Build features: Linux-4.18.0-1-amd64 Proj GUI GDAL FFmpeg OSG GL2PS SWIG +* Eclipse SUMO Version 1.0.0 + Build features: Linux-4.18.0-1-amd64 Proj GUI GDAL FFmpeg OSG GL2PS SWIG + Installation: * Install: `pip3 install .` from the root directory, or `python3 setup.py install` diff --git a/examples/simple.example.py b/examples/simple.example.py index edc0bbe..186ec1e 100755 --- a/examples/simple.example.py +++ b/examples/simple.example.py @@ -36,11 +36,11 @@ def _main(): """ Example of parking management in SUMO. """ - ## TESTED WITH: SUMO 1.0.1 - # traci.start(['/home/drone/Applications/SUMO/sumo-1.0.1/bin/sumo', + ## TESTED WITH: SUMO 1.1.0 + # traci.start(['/home/drone/Applications/SUMO/sumo-1.1.0/bin/sumo', # '-c', 'test_scenario/sumo.simple.cfg'], port=42041) ## Running with the last-monday development version - traci.start(['sumo-gui', '-c', 'test_scenario/sumo.simple.cfg'], port=42041) + traci.start(['sumo', '-c', 'test_scenario/sumo.simple.cfg'], port=42041) parking_monitor_options = { 'addStepListener': True, diff --git a/examples/subscriptions.example.py b/examples/subscriptions.example.py index 1c3ecc5..d52040f 100755 --- a/examples/subscriptions.example.py +++ b/examples/subscriptions.example.py @@ -37,8 +37,8 @@ def _main(): """ Example of parking management in SUMO. """ - ## TESTED WITH: SUMO 1.0.1 - # traci.start(['/home/drone/Applications/SUMO/sumo-1.0.1/bin/sumo', + ## TESTED WITH: SUMO 1.1.0 + # traci.start(['/home/drone/Applications/SUMO/sumo-1.1.0/bin/sumo', # '-c', 'test_scenario/sumo.subscriptions.cfg'], port=42042) ## Running with the last-monday development version traci.start(['sumo', '-c', 'test_scenario/sumo.subscriptions.cfg'], port=42042)