Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Actuated Traffic Light Configuration

Hello,
the latest development version supports <param key="max-gap:<LANE_ID>" value="..."/> to set a custom max-gap for the detector on the given LANE_ID.
Note, that you either need to build from source or wait until tomorrow to obtain the updated version from https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version
regards,
Jakob

Am Do., 17. Dez. 2020 um 07:18 Uhr schrieb E Huan Chen <colaaddict96@xxxxxxxxx>:
Hi all,

I wanted to set up an actuated traffic signal controller, and from the
official documentation, this was the standard:

<tlLogic id="0" programID="my_program" offset="0" type="actuated">
  <param key="max-gap" value="3.0"/>
  <param key="detector-gap" value="2.0"/>
  <param key="passing-time" value="2.0"/>
  <param key="vTypes" value=""/>
  <param key="show-detectors" value="false"/>
  <param key="file" value="NULL"/>
  <param key="freq" value="300"/>

  <phase duration="31" minDur="5" maxDur="45" state="GGggrrrrGGggrrrr"/>
  ...
</tlLogic>

The max-gap seems to be the same for all phases. Is it possible for me
to customize gap-time for different lanes/phases? For example, 2
seconds gap time for phase 1 and 3 seconds gap time for phase 2. Thank
you in advance!

Best Regards
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top