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 [hidden email] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user |
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 <[hidden email]>: Hi all, _______________________________________________ sumo-user mailing list [hidden email] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user |
Hi,
It probably isn't much coming from me, but I really do appreciate the efficiency demonstrated by the SUMO team. Thank you and keep up the good work. Best Regards. _______________________________________________ sumo-user mailing list [hidden email] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user |
In reply to this post by E Huan Chen
Respected sumo user, On Thu, 17 Dec 2020, 11:48 E Huan Chen, <[hidden email]> wrote: Hi all, _______________________________________________ sumo-user mailing list [hidden email] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user |
Hi,
Yes, we can. We may change it in the <detector-gap> attribute in the net file. The official documentation can be found here: https://sumo.dlr.de/docs/Simulation/Traffic_Lights.html Best Regards. On 12/28/20, Prithvi Bagul <[hidden email]> wrote: > Respected sumo user, > > > Can we modify the position of detector for actuated type of signal. > > On Thu, 17 Dec 2020, 11:48 E Huan Chen, <[hidden email]> wrote: > >> 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 >> [hidden email] >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > sumo-user mailing list [hidden email] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user |
Free forum by Nabble | Edit this page |