Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] e1 and e2 detector

Hi everyone,
1- What is the length of the induction loop(e1detector)?
2- in the case of e2detector, when I generate my add.XML file consisting of:
    <e2Detector id="e2Detector_1" lane="e2_0" pos="15.22"
length="10.00"        freq="5" file="e2_det.xml" friendlyPos="1"/>
and call the functions:
print(traci.lanearea.getLastStepMeanSpeed("e2Detector_1"))
print(traci.lanearea.getLastStepVehicleIDs("e2Detector_1"))
the answer is "-1" and "()".
Why does this happen?
Any help would be appreciated.

Regards,
Ali


Back to the top