Public Member Functions | Public Attributes
diagnostic_updater._publisher.DiagnosedPublisher Class Reference
Inheritance diagram for diagnostic_updater._publisher.DiagnosedPublisher:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def publish

Public Attributes

 publisher

Detailed Description

A TopicDiagnostic combined with a ros::Publisher.

For a standard ros::Publisher, this class allows the ros::Publisher and
the TopicDiagnostic to be combined for added convenience.

Definition at line 83 of file _publisher.py.


Constructor & Destructor Documentation

def diagnostic_updater._publisher.DiagnosedPublisher.__init__ (   self,
  pub,
  diag,
  freq,
  stamp 
)
Constructs a DiagnosedPublisher.

@param pub The publisher on which statistics are being collected.

@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 from diagnostic_updater._publisher.TopicDiagnostic.

Definition at line 90 of file _publisher.py.


Member Function Documentation

Collects statistics and publishes the message.

The timestamp to be used by the TimeStampStatus class will be
extracted from message.header.stamp.

Definition at line 107 of file _publisher.py.


Member Data Documentation

Definition at line 102 of file _publisher.py.


The documentation for this class was generated from the following file:


diagnostic_updater
Author(s): Jeremy Leibs, Blaise Gassend, Brice Rebsamen
autogenerated on Fri Jan 3 2014 11:18:58