PyANGKernel.GKDetector¶
- class GKDetector¶
A detector device (loop detector, camera…) characterized by its detection capabilities
Details
We can understand
GKDetectoras a set of characteristics that define the capabilities of a detection device. You can query this object in order to know things about the detector or modify them in order to obtain the desired behavior.Inherited by:
GKDetectorStationSynopsis¶
Methods¶
def
__init__()def
getCoverage()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- __init__()¶
Gets the percentage of coverage of the section at the current position
Gets the number of Lanes this detector covers
Gets the detector position from the section end. The section object provides the position from the beginning of the section. This column is calculated automatically from that position and the section 2D length.
Gets the offset from the actual position of the detector (e.g. to make it work as if it was after the stop line). Value returned in meters.
- setExtendedLength(value)¶
- Parameters:
value – float
- setPositionFromEnd(aValue)¶
- Parameters:
aValue – float
Sets the detector position from the section end. The section object provides the position from the beginning of the section. This column is calculated automatically from that position and the section 2D length.
- setPositionOffset(value)¶
- Parameters:
value – float
Sets an offset to the actual position of the detector (e.g. to make it work as if it was after the stop line). Value in meters.
- setUsedInControlPlan(used)¶
- Parameters:
used – bool