|
IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
|
Class that triggers a report when the state matches a target state. More...


Public Member Functions | |
| def | __init__ (self, theConfig, target) |
| Constructor for onMatch trigger class. More... | |
| def | newTarget (self, theTarg) |
| Define the new target to check against. More... | |
| def | test (self, theSig) |
| Report triggered when the passed signal matches the target signal. More... | |
Public Member Functions inherited from Trigger | |
| def | __init__ (self, theConfig=CfgTrigger()) |
| Constructor for base trigger class. More... | |
Public Attributes | |
| targSig | |
Public Attributes inherited from Trigger | |
| config | |
Class that triggers a report when the state matches a target state.
In principle, the equality binary operator should work (be defined) for the signal. If equality is not supported, then try the whenClose trigger.
| def __init__ | ( | self, | |
| theConfig, | |||
| target | |||
| ) |
Constructor for onMatch trigger class.
| def newTarget | ( | self, | |
| theTarg | |||
| ) |
Define the new target to check against.
| [in] | theTarg | New target instance. |
| def test | ( | self, | |
| theSig | |||
| ) |
Report triggered when the passed signal matches the target signal.
| [in] | theSig | The passed signal. |
Reimplemented from Trigger.
| targSig |