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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CPerception.CTrafficLightIndex
static class
CPerception.CVehicleIndex
A base class for configuring the VehicleIndex implementation to use during perception.static class
CPerception.CWallIndex
-
Field Summary
Fields Modifier and Type Field Description GeoRectangle
perceptionArea
Area defining the section of the map in which traffic objects (traffic lights, vehicles) should be held in the index.CPerception.CTrafficLightIndex
trafficLightIndex
Backend for the spatial index providing traffic light information.CPerception.CVehicleIndex
vehicleIndex
Backend for the spatial index providing vehicle information.CPerception.CWallIndex
wallIndex
Backend for the spatial index providing information about building walls.
-
Constructor Summary
Constructors Constructor Description CPerception()
-
-
-
Field Detail
-
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.
-
-