Class PerceivedTrafficLightChannel

All Implemented Interfaces:
Comparable<PerceivedObject>, Identifiable, PerceivedLaneBasedObject, PerceivedObject

public class PerceivedTrafficLightChannel extends PerceivedTrafficLight
Traffic light perceived through delayed perception channel.

Copyright (c) 2024-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Wouter Schakel
  • Constructor Details

    • PerceivedTrafficLightChannel

      public PerceivedTrafficLightChannel(TrafficLight trafficLight, Length distance, boolean turnOnRed, Supplier<Duration> perceptionDelay)
      Construct a new Headway information object, for a traffic light ahead of us (or behind us, although that does not seem very useful).
      Parameters:
      trafficLight - the traffic light object for further observation, can not be null.
      distance - the distance to the traffic light, distance cannot be null.
      turnOnRed - whether the perceiving GTU may turn on red.
      perceptionDelay - perception delay supplier.
  • Method Details