Class CPerception

java.lang.Object
org.eclipse.mosaic.fed.application.config.CPerception
All Implemented Interfaces:
Serializable

public class CPerception extends Object implements Serializable
Configuration for the perception backend used in the ApplicationSimulator to determine surrounding vehicles, traffic lights, and buildings.
See Also:
  • Field Details

    • useSumoPerception

      public boolean useSumoPerception
      If set to true, uses the perception index of the SUMO traffic simulator, instead of the built-in one. Default: false.
    • vehicleIndex

      public CPerception.CVehicleIndex vehicleIndex
      Backend for the spatial index providing vehicle information.
    • trafficLightIndex

      public CPerception.CTrafficLightIndex trafficLightIndex
      Backend for the spatial index providing traffic light information.
    • wallIndex

      public CPerception.CWallIndex wallIndex
      Backend for the spatial index providing information about building walls.
    • perceptionArea

      public GeoRectangle perceptionArea
      Area defining the section of the map in which traffic objects (traffic lights, vehicles) should be held in the index. This is useful if only part of your network contains vehicles.
  • Constructor Details

    • CPerception

      public CPerception()