Public Member Functions | Private Attributes | Static Private Attributes
rate_publishers._RatePublisher Class Reference

List of all members.

Public Member Functions

def __init__
def pub
def publish_once
def spin_once
def stop

Private Attributes

 _last_pub
 _message
 _period
 _publisher
 _topic

Static Private Attributes

float _tolerance = 0.01

Detailed Description

Definition at line 30 of file rate_publishers.py.


Constructor & Destructor Documentation

def rate_publishers._RatePublisher.__init__ (   self,
  topic,
  msg_type,
  latch = False 
)

Definition at line 36 of file rate_publishers.py.


Member Function Documentation

def rate_publishers._RatePublisher.pub (   self,
  message,
  rate = None 
)

Definition at line 43 of file rate_publishers.py.

Definition at line 51 of file rate_publishers.py.

Gives _RatePublisher a chance to publish a stored message.

This method returns the remaining time until the next scheduled
publication (or None).

Definition at line 56 of file rate_publishers.py.

Definition at line 48 of file rate_publishers.py.


Member Data Documentation

Definition at line 36 of file rate_publishers.py.

Definition at line 36 of file rate_publishers.py.

Definition at line 36 of file rate_publishers.py.

Definition at line 36 of file rate_publishers.py.

float rate_publishers._RatePublisher::_tolerance = 0.01 [static, private]

Definition at line 34 of file rate_publishers.py.

Definition at line 36 of file rate_publishers.py.


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


twist_mux
Author(s): Enrique Fernandez , Siegfried-A. Gevatter Pujals
autogenerated on Mon Mar 14 2016 10:21:12