|
From: Michael B. <beh...@us...> - 2009-06-15 21:01:56
|
Am Montag, 15. Juni 2009 17:46:00 schrieb George Dita: > Hi guys, > > > I am using E1 detectors and I was wondering if the is a way to > collect aggregated data from them. In the documentation it says that it > returns the number of vehicles (or vehicle id’s) from the last simulation > step, but that means exactly the last step (one step) and not the last > CMD_SIMSTEP sent to SUMO. > > The only way to get aggregated data in real time is to send > CMD_SIMSTEP with a value of 1 and to aggregate the data collected myself? You could send the file output to a socket (or a pipe) and parse it. There may be some buffering issues in between but it is definitely worth trying. Regards, Michael |