PyANGKernel.GKMergeNodesCmd¶
- class GKMergeNodesCmd¶
Merges two or more nodes into only one. * * Turning movements from both nodes will be added to the new node. * Only applied if all Control Plans from the merging nodes are compatible. * * We consider control types “Unspecified” and “Uncontrolled” as Trivial. * * Compatibility under a control plan (one must be true): * - There is one or more Fixed controls and the rest are Trivial. * - There is one or more External controls and the rest are Trivial. * - There is exactly one Actuated control and the rest are Trivial. * - All nodes are Trivial. * * Extra checks: * - For 1 and 2: Preemption Lists must be empty if more than one Fixed or External controls are trying to be merged. * - For 2: Those External nodes can’t be in different Controllers. * * Results: * - The node control obtained by merging multiple controls of type Fixed or External under the same Control Plan will have all the signals * from each of those controls and keep the start time and duration. Signal data from Trivial types will be ignored. * - The Yellow Time, Red to Green Yellow Time and Red % in Yellow Time will be the maximum from the relevant controls. * - The Offset will be the minimum from the relevant controls. * - The Critical checkbox will be marked if any control had it marked. * - For 4, the resulting control will always be of type Unspecified. *
Synopsis¶
Methods¶
def
__init__()def
setData()
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__()¶
- setData(objs)¶
- Parameters:
objs –
QList