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 |
Definition at line 30 of file rate_publishers.py.
def rate_publishers._RatePublisher.__init__ | ( | self, | |
topic, | |||
msg_type, | |||
latch = False |
|||
) |
Definition at line 36 of file rate_publishers.py.
def rate_publishers._RatePublisher.pub | ( | self, | |
message, | |||
rate = None |
|||
) |
Definition at line 43 of file rate_publishers.py.
def rate_publishers._RatePublisher.publish_once | ( | self | ) |
Definition at line 51 of file rate_publishers.py.
def rate_publishers._RatePublisher.spin_once | ( | self | ) |
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.
def rate_publishers._RatePublisher.stop | ( | self | ) |
Definition at line 48 of file rate_publishers.py.
Definition at line 36 of file rate_publishers.py.
rate_publishers._RatePublisher::_message [private] |
Definition at line 36 of file rate_publishers.py.
rate_publishers._RatePublisher::_period [private] |
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.
rate_publishers._RatePublisher::_topic [private] |
Definition at line 36 of file rate_publishers.py.