Public Member Functions | |
def | __init__ |
def | addTask |
def | run |
Public Attributes | |
tasks |
Merges CompositeDiagnosticTask into a single DiagnosticTask. The CompositeDiagnosticTask allows multiple DiagnosticTask instances to be combined into a single task that produces a single single DiagnosticStatusWrapped. The output of the combination has the max of the status levels, and a concatenation of the non-zero-level messages. For instance, this could be used to combine the calibration and offset data from an IMU driver.
Definition at line 93 of file _diagnostic_updater.py.
def diagnostic_updater._diagnostic_updater.CompositeDiagnosticTask.__init__ | ( | self, | |
name | |||
) |
Constructs a CompositeDiagnosticTask with the given name.
Reimplemented from diagnostic_updater._diagnostic_updater.DiagnosticTask.
Definition at line 105 of file _diagnostic_updater.py.
Adds a child CompositeDiagnosticTask. This CompositeDiagnosticTask will be called each time this CompositeDiagnosticTask is run.
Definition at line 130 of file _diagnostic_updater.py.
def diagnostic_updater._diagnostic_updater.CompositeDiagnosticTask.run | ( | self, | |
stat | |||
) |
Runs each child and merges their outputs.
Reimplemented from diagnostic_updater._diagnostic_updater.DiagnosticTask.
Definition at line 110 of file _diagnostic_updater.py.
Definition at line 105 of file _diagnostic_updater.py.