Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] 回复: getLaststepoccupancy

Hello ,
My sumo version is 1.5.0.
Is it a version problem? Would you please tell me what version do you use? Is E1 detector used in the detection process?
Regards,
kevin

发件人: sumo-user <sumo-user-bounces@xxxxxxxxxxx> 代表 Maria.Armellini@xxxxxx <Maria.Armellini@xxxxxx>
发送时间: 2021年4月6日 17:09
收件人: sumo-user@xxxxxxxxxxx <sumo-user@xxxxxxxxxxx>
主题: Re: [sumo-user] getLaststepoccupancy
 

Hello Kevin,

 

Would you tell me what version of sumo you are using? With the latest version I am getting 100% occupancy as output.

 

Regards,

Giuliana

 

Von: sumo-user <sumo-user-bounces@xxxxxxxxxxx> Im Auftrag von q kevin
Gesendet: Donnerstag, 1. April 2021 16:28
An: sumo-user@xxxxxxxxxxx
Betreff: [sumo-user] getLaststepoccupancy

 


Image

Hello ,

In order to figure out the usage of the function --traci.inductionloop.getLastStepOccupancy(), I created a queuing phenomenon at the entrance of the intersection, making the vehicle stop on the set E1 detector all the time, and outputting the occupancy rate with traci.inductionloop.getLastStepOccupancy() in real time, but the output of each second is 0, and I want to know why?

What does this function mean? It doesn't feel like the official website explains.Image

 

Image 

sincerely,

kevin

 

Get Outlook for Android


Back to the top