|
Algorithm 1 Pedestrian traffic light triggering algorithm |
procedureTraffic light control
initiate
create
repeat ▹Forever
set to current time
get from
for all do: ▹A
if target then:
save target and timestamp to
for all targets in do: ▹B
if target then:
remove target from
else:
if target is in observable area longer than threshold time s then:
change traffic signalization
until shutdown
|