Make sure to use the latest development version (
https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version)
because the feature is not available in 1.5.


Am Fr., 13. März 2020 um 10:24 Uhr schrieb Michael Sederlin <[email protected]
>:

> Hello,
>
> I am having problems with using previously defined detectors for vehicle
> actuated traffic signals.
>
> My additional file is:
> <additional>
>
>      <!-- Short Detectors -->
>      <e1Detector id="e1Detector_gneE1_0" lane="gneE1_0" pos="-80.00"
> freq="900.00" file="out.xml"/>
>      <e1Detector id="e1Detector_gneE1_1" lane="gneE1_1" pos="-80.00"
> freq="900.00" file="out.xml"/>
>      <e1Detector id="e1Detector_gneE1_2" lane="gneE1_2" pos="-80.00"
> freq="900.00" file="out.xml"/>
>      <e1Detector id="e1Detector_gneE3_0" lane="gneE3_0" pos="-80.00"
> freq="900.00" file="out.xml"/>
>      <e1Detector id="e1Detector_gneE3_1" lane="gneE3_1" pos="-80.00"
> freq="900.00" file="out.xml"/>
>      <e1Detector id="e1Detector_gneE3_2" lane="gneE3_2" pos="-80.00"
> freq="900.00" file="out.xml"/>
>      <e1Detector id="e1Detector_gneE5_0" lane="gneE5_0" pos="-80.00"
> freq="900.00" file="out.xml"/>
>      <e1Detector id="e1Detector_gneE5_1" lane="gneE5_1" pos="-80.00"
> freq="900.00" file="out.xml"/>
>      <e1Detector id="e1Detector_gneE5_2" lane="gneE5_2" pos="-80.00"
> freq="900.00" file="out.xml"/>
>      <e1Detector id="e1Detector_gneE7_0" lane="gneE7_0" pos="-80.00"
> freq="900.00" file="out.xml"/>
>      <e1Detector id="e1Detector_gneE7_1" lane="gneE7_1" pos="-80.00"
> freq="900.00" file="out.xml"/>
>      <e1Detector id="e1Detector_gneE7_2" lane="gneE7_2" pos="-80.00"
> freq="900.00" file="out.xml"/>
>
>      <!-- Long Detectors -->
>      <e2Detector id="e2Detector_gneE1_0" lane="gneE1_0" pos="70"
> length="10.00" freq="900.00" file="out.xml"/>
>      <e2Detector id="e2Detector_gneE1_1" lane="gneE1_1" pos="70"
> length="10.00" freq="900.00" file="out.xml"/>
>      <e2Detector id="e2Detector_gneE1_2" lane="gneE1_2" pos="70"
> length="10.00" freq="900.00" file="out.xml"/>
>      <e2Detector id="e2Detector_gneE3_0" lane="gneE3_0" pos="70"
> length="10.00" freq="900.00" file="out.xml"/>
>      <e2Detector id="e2Detector_gneE3_1" lane="gneE3_1" pos="70"
> length="10.00" freq="900.00" file="out.xml"/>
>      <e2Detector id="e2Detector_gneE3_2" lane="gneE3_2" pos="70"
> length="10.00" freq="900.00" file="out.xml"/>
>      <e2Detector id="e2Detector_gneE5_0" lane="gneE5_0" pos="70"
> length="10.00" freq="900.00" file="out.xml"/>
>      <e2Detector id="e2Detector_gneE5_1" lane="gneE5_1" pos="70"
> length="10.00" freq="900.00" file="out.xml"/>
>      <e2Detector id="e2Detector_gneE5_2" lane="gneE5_2" pos="70"
> length="10.00" freq="900.00" file="out.xml"/>
>      <e2Detector id="e2Detector_gneE7_0" lane="gneE7_0" pos="70"
> length="10.00" freq="900.00" file="out.xml"/>
>      <e2Detector id="e2Detector_gneE7_1" lane="gneE7_1" pos="70"
> length="10.00" freq="900.00" file="out.xml"/>
>      <e2Detector id="e2Detector_gneE7_2" lane="gneE7_2" pos="70"
> length="10.00" freq="900.00" file="out.xml"/>
>
>      <tlLogic id="tl_I0" programID="my_program" offset="0" type="actuated">
>
>          <!-- Detectors -->
>          <param key="gneE1_0" value="e2Detector_gneE1_0" />
>          <param key="gneE1_1" value="e2Detector_gneE1_1" />
>          <param key="gneE1_2" value="e2Detector_gneE1_2" />
>          <param key="gneE3_0" value="e2Detector_gneE3_0" />
>          <param key="gneE3_1" value="e2Detector_gneE3_1" />
>          <param key="gneE3_2" value="e2Detector_gneE3_2" />
>          <param key="gneE5_0" value="e2Detector_gneE5_0" />
>          <param key="gneE5_1" value="e2Detector_gneE5_1" />
>          <param key="gneE5_2" value="e2Detector_gneE5_2" />
>          <param key="gneE7_0" value="e2Detector_gneE7_0" />
>          <param key="gneE7_1" value="e2Detector_gneE7_1" />
>          <param key="gneE7_2" value="e2Detector_gneE7_2" />
>
>
>          <phase duration="10" state="rrrrrrrGrrrrrrrGrrrrrrrrrr"
> minDur="5" maxDur="50" />
>          <phase duration="3" state="rrrrrrryrrrrrrryrrrrrrrrrr"/><!--
> Yellow time -->
>          <phase duration="2" state="rrrrrrrrrrrrrrrrrrrrrrrrrr"/> <!--
> All-red time -->
>          <phase duration="3" state="rrrruuurrrrruuurrrrrrrrrrr"/> <!--
> Red-Yellow time -->
>          <phase duration="10" state="rrrrGGGrrrrrGGGrrrrrrrrrrr"
> minDur="5" maxDur="50" />
>          <phase duration="3" state="rrrryyyrrrrryyyyrrrrrrrrrr"/> <!--
> Yellow time -->
>          <phase duration="2" state="rrrrrrrrrrrrrrrrrrrrrrrrrr"/> <!--
> All-red time -->
>          <phase duration="3" state="rrrurrrrrrrurrrrrrrrrrrrrr"/> <!--
> Red-Yellow time -->
>          <phase duration="10" state="rrrGrrrrrrrGrrrrrrrrrrrrrr"
> minDur="5" maxDur="50" />
>          <phase duration="3" state="rrryrrrrrrryrrrrrrrrrrrrrr"/> <!--
> Yellow time -->
>          <phase duration="2" state="rrrrrrrrrrrrrrrrrrrrrrrrrr"/> <!--
> All-red time -->
>          <phase duration="3" state="uuurrrrruuurrrrrrrrrrrrrrr"/> <!--
> Red-Yellow time -->
>          <phase duration="10" state="GGGrrrrrGGGrrrrrrrrrrrrrrr"
> minDur="5" maxDur="50" />
>          <phase duration="3" state="yyyyrrrryyyrrrrrrrrrrrrrrr"/> <!--
> Yellow time -->
>          <phase duration="2" state="rrrrrrrrrrrrrrrrrrrrrrrrrr"/> <!--
> All-red time -->
>          <phase duration="5" state="rrrrrrrurrrrrrrurrrrrrrrrr"/> <!--
> Red-Yellow time -->
>
>      </tlLogic>
>
> </additional>
>
> Still new detectors are created in the simulation with names such as.
>
>
>           TLStl_I0_my_program_InductLoopOn_gneE1_0
>           TLStl_I0_my_program_InductLoopOn_gneE1_1
>           TLStl_I0_my_program_InductLoopOn_gneE1_2
>           TLStl_I0_my_program_InductLoopOn_gneE3_0
>           TLStl_I0_my_program_InductLoopOn_gneE3_1
>           TLStl_I0_my_program_InductLoopOn_gneE3_2
>           TLStl_I0_my_program_InductLoopOn_gneE5_0
>           TLStl_I0_my_program_InductLoopOn_gneE5_1
>           TLStl_I0_my_program_InductLoopOn_gneE5_2
>           TLStl_I0_my_program_InductLoopOn_gneE7_0
>           TLStl_I0_my_program_InductLoopOn_gneE7_1
>           TLStl_I0_my_program_InductLoopOn_gneE7_2
>
>
> Is this normal behaviour?
>
>
> best,
> Michael
>
> _______________________________________________
> 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