TechnionYearlyProject / SummitBTW

Better Than Waze
0 stars 1 forks source link

Need to find out how to query E2 detector #66

Closed EylonSho closed 6 years ago

EylonSho commented 6 years ago

Although E1 detectors are quite popular, there is not enough documentation about E2 (lane-area detector). It is required to do some more research about it in order to find out how to query this detector.

EylonSho commented 6 years ago

Pydoc documentation of traci and sumo's wiki are found to be not enough. Therefore I tried the sumo original repo and found out an example here. TL;DR: use traci.lanearea.<QueryFunction>(<DetectorID>) where \ is what you want to get from the detector, e.g. getLength.