Re: [sumo-user] Lane detector value retieval

2021-11-17 Thread Jakob Erdmann
getParameter and setParameter are only for custom user data when used on detectors. Am Do., 18. Nov. 2021 um 06:48 Uhr schrieb Starlight Charlotte < jeremiahferre...@gmail.com>: > How do I get the values within the detector? > > > > I found this bit but it’s not been helpful. > > traci.lanearea.g

Re: [sumo-user] E3detector Lane value retrieval.

2021-11-17 Thread Jakob Erdmann
It's traci.multientryexit.getLastStepVehicleNumber(detID) see https://sumo.dlr.de/docs/TraCI/Multi-Entry-Exit_Detectors_Value_Retrieval.html (the lastInterval* methods are not yet available in 1.10.0) regards, Jakob Am Do., 18. Nov. 2021 um 04:44 Uhr schrieb Starlight Charlotte < jeremiahferre...

Re: [sumo-user] Running duaIterate.py with flowrouter.py routes

2021-11-17 Thread Alejandro Rodríguez Sánchez
Thanks Jakob, now it works properly. Best regards, Alejandro El mar., 16 nov. 2021 23:08, Jakob Erdmann escribió: > When using named routes (with attribute id) as input for > implausibleRoutes.py, the option --standalone must be set. (This was > missing in the documentation but has now been add

[sumo-user] Lane detector value retieval

2021-11-17 Thread Starlight Charlotte
How do I get the values within the detector? I found this bit but it’s not been helpful.traci.lanearea.getParameter("Nation_Highway_South_Inner")) Is there a way to retrieve the values detected by Nation_Highway_South_Inner Sent from Mail for Windows  Virus-free. www.avast.com

[sumo-user] E3detector Lane value retrieval.

2021-11-17 Thread Starlight Charlotte
If e2detectors are retrieved by this syntax traci.lanearea.getLastStepVehicleNumber(“Nation_Highway_North_Outer”) How do I retrieve e3detector’s data? I don’t know the proper syntax since I’m new to SumoThank You In advance. Sent from Mail for Windows  Virus-free. www.avast.com

Re: [sumo-user] Problem with OSM Web Wizard

2021-11-17 Thread Jakob Erdmann
The operating system might block communication between the python script and your default browser. In this case it may help to open up the wizard web page in another browser. Am Mi., 17. Nov. 2021 um 21:47 Uhr schrieb Nicoló Avogadro < nicoav...@gmail.com>: > Dear all, > > I am writing because I

Re: [sumo-user] Arrived vehicles unknown. How to request aggregated vehicle data in TraCI?

2021-11-17 Thread Jakob Erdmann
The recommended way to obtain aggregated data is via xml outputs (i.e. tripinfo-output for aggregation on the vehicle level). Tripinfo-output is flushed in every simulation step so you might even parse this at runtime if really needed. The typical use case of traci is for runtime manipulation of th

[sumo-user] Problem with OSM Web Wizard

2021-11-17 Thread Nicoló Avogadro
Dear all, I am writing because I have recently installed SUMO and python on a new PC. Unfortunately, I am experiencing some problems when importing the OSM network using the Web Wizard. In detail, after launching the execution of osmWebWizard.py the web page opens up and after clicking "generate s

Re: [sumo-user] PTFS import generates nothing

2021-11-17 Thread Thomas Gentsch
Quick update - I digged deeper into that and finally found that my GTFS data does contains rides at 09.04.2019 but for whatever reason not for the bus/tram lines travelling through my network :-| So basically, no matching data -> no results. After using another day it produced XML output (scenari

Re: [sumo-user] [EXTERNAL] Re: traci execution speed

2021-11-17 Thread Pradeep Viyaluru Harinath
Thank you , it works now. But the speed isn’t as quick it is in general with command prompt. What is the fastest method in SUMO , is using lib sumo quickest of all? Thanks and regards, V.H.Pradeep From: Michael Behrisch Sent: Wednesday, November 17, 2021 5:53 A

[sumo-user] Arrived vehicles unknown. How to request aggregated vehicle data in TraCI?

2021-11-17 Thread T Eenachtacht
Hi, Subscription to arrived vehicles is a trigger to collect aggregated data from those vehicles at the end of their simulation life such as total distance travelled (getDistance), accumulated waiting time, and their number of stops. Pretty standard stuff for a traffic simulation. Alas, the vehicl

Re: [sumo-user] [EXTERNAL] Re: traci execution speed

2021-11-17 Thread Michael Behrisch
Hi, Libsumo ist picky about types. So you need to convert everything to a string before calling setParameter. Best regards, Michael Am 17. November 2021 01:41:08 MEZ schrieb Pradeep Viyaluru Harinath : >Thank you for your response. >I have used the command " libsumo as traci " but to only get t