Skip to main content

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

There clearly was a problem with the detector occupancy until one year ago (see Github). Please update to a newer version of SUMO.


Best regards

Mirko


Am 06.04.2021 um 15:48 schrieb q kevin:
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


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top