
Public Member Functions | |
| def | __init__ |
| def | tick |
Public Attributes | |
| stamp | |
A class to facilitate making diagnostics for a topic using a FrequencyStatus and TimeStampStatus.
Definition at line 81 of file _publisher.py.
| def diagnostic_updater._publisher.TopicDiagnostic.__init__ | ( | self, | |
| name, | |||
| diag, | |||
| freq, | |||
| stamp | |||
| ) |
Constructs a TopicDiagnostic. @param name The name of the topic that is being diagnosed. @param diag The diagnostic_updater that the CompositeDiagnosticTask should add itself to. @param freq The parameters for the FrequencyStatus class that will be computing statistics. @param stamp The parameters for the TimeStampStatus class that will be computing statistics.
Reimplemented in diagnostic_updater._publisher.DiagnosedPublisher.
Definition at line 86 of file _publisher.py.
| def diagnostic_updater._publisher.TopicDiagnostic.tick | ( | self, | |
| stamp | |||
| ) |
Collects statistics and publishes the message. @param stamp Timestamp to use for interval computation by the TimeStampStatus class.
Definition at line 105 of file _publisher.py.
Definition at line 98 of file _publisher.py.