[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] detecor attributes in output file
|
Thank you both for your explanation. I’ve tried the way by Hao. However, the mean speed of detector in every 30s is different from the speed value in output file. I can't figure it out. Could you please check the attachment ?
Best Regards,
Wenxuan Wang
|
wangwenxuan
|
|
wangwenxuan@xxxxxxxxxxxxx
|
Currently, there is no way to access aggregated output values via TraCI so you either have to aggregate them manually at runtime (as explained by Hao) or read them from the output file.
regards,
Jakob
That’s a great question. I did some search before and end up using a workaround which manually computes those values by using traci’s value retrieval for induction loops. The idea is to retrieve the ID of vehicles on those loop sectors at last time step and current step. This is a bit cumbersome. I hope some smart guys can light us up.
Hello,
I want to acquire some attributes in output file of detector, such as the speed or the occupancy during the interval period. Should I get these attributes by reading the output file? Is there any other way? It seems that I can’t acquire them by TraCI.
Thank you very much!
Best Regards!
Wenxuan Wang
|
wangwenxuan
|
|
wangwenxuan@xxxxxxxxxxxxx
|
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
Attachment:
detector.zip
Description: Zip archive