Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Retrieve number of passed vehicles at induction loop via traci

Dear SUMO users,

 

I want to retrieve a correct number of vehicles which passed an induction loop (E1) within the last simulation step via TraCI. I currently use the variable 0x10 which corresponds to the „nVehEntered“ property of the XML output. However, I noticed that with larger simulation steps (> 0.5s) and high speeds some vehicles are not recognized by this method. It seems they complete pass the induction loop but do not “enter” them. Is there any way to retrieve a value which corresponds to the number of vehicles which passed the induction loop within the last simulation step via TraCI? E.g. something which corresponds to nVehContrib“?

 

Kind regards,

Karl


Back to the top