Public Member Functions | |
def | __init__ (self, pub, diag, freq, stamp) |
def | publish (self, message) |
![]() | |
def | tick (self, stamp) |
![]() | |
def | __init__ (self, name, diag, freq) |
def | clear_window (self) |
def | tick (self) |
![]() | |
def | __init__ (self, name) |
def | addTask (self, t) |
def | run (self, stat) |
![]() | |
def | getName (self) |
Public Attributes | |
publisher | |
![]() | |
stamp | |
![]() | |
diag | |
freq | |
![]() | |
tasks | |
![]() | |
name | |
A :class:`TopicDiagnostic` combined with a :class:`rospy.Publisher`. For a standard :class:`rospy.Publisher`, this class allows the :class:`rospy.Publisher` and the :class:`TopicDiagnostic` to be combined for added convenience.
Definition at line 114 of file _publisher.py.
def diagnostic_updater._publisher.DiagnosedPublisher.__init__ | ( | self, | |
pub, | |||
diag, | |||
freq, | |||
stamp | |||
) |
Constructs a :class:`DiagnosedPublisher`. :param rospy.Publisher pub: The publisher on which statistics are being collected. :param diagnostic_updater.Updater diag: The :class:`Updater` that the :class:`CompositeDiagnosticTask` should add itself to. :param diagnostic_updater.FrequencyStatusParam freq: The parameters for the :class:`FrequencyStatus` class that will be computing statistics. :param diagnostic_updater.TimeStampStatusParam stamp: The parameters for the :class:`TimeStampStatus` class that will be computing statistics.
Reimplemented from diagnostic_updater._publisher.TopicDiagnostic.
Definition at line 121 of file _publisher.py.
def diagnostic_updater._publisher.DiagnosedPublisher.publish | ( | self, | |
message | |||
) |
Collects statistics and publishes the message. The timestamp to be used by the :class:`TimeStampStatus` class will be extracted from `message.header.stamp`. :param genpy.Message message: The message to be published.
Definition at line 138 of file _publisher.py.
diagnostic_updater._publisher.DiagnosedPublisher.publisher |
Definition at line 136 of file _publisher.py.