wingsweihua / IntelliLight

IntelliLight: A Reinforcement Learning Approach for Intelligent Traffic Light Control

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing yellow phase in tlLogic

jiangchao2014 opened this issue · comments

Warning: Missing yellow phase in tlLogic 'node0', program '0' for tl-index 5 when switching to phase 1

in data/one_run/cross.net.xml in find that only two phases:
<tlLogic id="node0" type="static" programID="0" offset="0"> <phase duration="1000000" state="grrrgGGGgrrrgGGG"/> <phase duration="1000000" state="gGGGgrrrgGGGgrrr"/> </tlLogic>

is there some errors?

Nope, this is just a warning from SUMO, indicating the default phase in net.xml does not contain the yellow phase.
If it's controlled by an agent, we will set a yellow phase in map_computor.py