Definition at line 33 of file rate_publishers.py.
◆ __init__()
| def rate_publishers._RatePublisher.__init__ |
( |
|
self, |
|
|
|
topic, |
|
|
|
msg_type, |
|
|
|
latch = False |
|
) |
| |
◆ pub()
| def rate_publishers._RatePublisher.pub |
( |
|
self, |
|
|
|
message, |
|
|
|
rate = None |
|
) |
| |
◆ publish_once()
| def rate_publishers._RatePublisher.publish_once |
( |
|
self | ) |
|
◆ spin_once()
| 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 -1).
Definition at line 59 of file rate_publishers.py.
◆ stop()
| def rate_publishers._RatePublisher.stop |
( |
|
self | ) |
|
◆ _last_pub
| rate_publishers._RatePublisher._last_pub |
|
private |
◆ _message
| rate_publishers._RatePublisher._message |
|
private |
◆ _period
| rate_publishers._RatePublisher._period |
|
private |
◆ _publisher
| rate_publishers._RatePublisher._publisher |
|
private |
◆ _tolerance
| float rate_publishers._RatePublisher._tolerance = 0.01 |
|
staticprivate |
◆ _topic
| rate_publishers._RatePublisher._topic |
|
private |
The documentation for this class was generated from the following file: