Hello,
you have encountered a netedit bug (
https://github.com/eclipse/sumo/issues/7275).
As a consolation, the network and detectors can be loaded into sumo /
sumo-gui just fine.
regards,
Jakob

Am Do., 2. Juli 2020 um 17:53 Uhr schrieb Kaubruegger, Benedikt <
[email protected]>:

> Hello,
>
>
>
> I used generateTLSE2Detectors.py to generate E2 Detectors, which are
> coupled to a traffic light.
>
> And acted according to the following description.
>
>
> https://sumo.dlr.de/docs/Simulation/Output/Traffic_Lights.html#coupled_areal_detectors
>
>
>
> [image: Instantiating within the Simulation It is possible to add
> E2-detectors which are coupled to a traffic light. Then, the tls is used to
> determine the intervals (aggregation) time instead of giving a fixed
> aggregation time. In this case, output will be generated every time the
> traffic light switches. To use this feature set attribute tl="<TL_ID>" to
> the desired traffic light id instead off attribute <freq>: <e2Detector
> id="<ID>" lane="<LANE_ID>" pos="<POSITION_ON_LANE>"
> length="<DETECTOR_LENGTH>" tl="<TL_ID>" file="<OUTPUT_FILE>"
> [timeThreshold="<FLOAT>"] [speedThreshold="<FLOAT>"]
> [jamThreshold="<FLOAT>"]/>]
> <https://sumo.dlr.de/docs/Simulation/Output/Lanearea_Detectors_(E2).html>
>
> The command I use looks like this:
>
>
>
> [image: py generateTLSE2Detectors.py -n network.net.xml --tl-coupled -o
> detectors.add.xml]
>
>
>
> I am able to create a file, which contains numerous detectors such as in
> this example:
>
>
>
> [image: <additional xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/additional_file.xsd";>
> <laneAreaDetector file="e2output.xml" tl="48889630" friendlyPos="x"
> id="e2det_-152098431#0_0" lane="-152098431#0_0" length="7.24" pos="0"/>
> </additional>]
>
>
>
>
>
>
>
> But when I try to load the additional detector file into the network I get
> the following Warning:
>
>
>
>                 [image: Warning: Essential SUMOTime attribute 'freq' of
> e2Detector with ID 'e2det_-152098431#0_0' is missing; e2Detector cannot be
> created]
>
>
>
> As far as I understood „tl“ replaces the attribute „freq“, is hat correct?
>
> Is there anything I did wrong?
>
>
>
> I attached the network and the additional detector file.
>
>
>
>
>
> Thank you for your help.
>
>
>
> Regards,
>
> Benedikt Kaubrügger
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to