1) Fixed it.
2) Vehicles may be counted twice if they change lanes while on the detector.
3) If you want to avoid double counting, you can query the list vehicle IDs
on the detector rather than their number
4) Extending TraCI requires work on:
       - the server side: traci-server/TRaCIServerAPI_inductionLoop
       - the simulation object microsim/output/MSInductLoop.cpp
       - the client side (i.e. tools/traci/inductionloop.py)

regards,
Jakob



2016-02-16 14:13 GMT+01:00 Mahmoud Ramadan Nawar <[email protected]>:

> Hello Jacob
>
> regarding the message
> https://sourceforge.net/p/sumo/mailman/message/34837929/
>
> 1- it's written here that frequency should be 1 s
> http://sumo.dlr.de/wiki/TraCI/Induction_Loop_Value_Retrieval
> http://sumo.dlr.de/wiki/TraCI/Lane_Area_Detector_Value_Retrieval
>
> 2- yes we could add more than induction loops/aerial detectors in the same
> age but i was asking about correctness as we may count vehicles multiple
> times.
>
> 3- how it would be  correct  to aggregate values in traci (for example in
> meme detector if in the last two steps number of vehicles within was 12 ,
> 13 respectively , there is no way to know the total number of distinct
>  vehicles in the two steps , and how about the mean speed in the two steps )
>
> 3- regarding adding the functionality of aggregated values to traci
> where i should start if i want to work on it
>
> Regards
> Mahmoud
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to