Package org.ros.internal.node.topic
Class RepeatingPublisher<MessageType>
java.lang.Object
org.ros.internal.node.topic.RepeatingPublisher<MessageType>
Repeatedly send a message out on a given
Publisher.- Author:
- damonkohler@google.com (Damon Kohler)
-
Constructor Summary
ConstructorsConstructorDescriptionRepeatingPublisher(Publisher<MessageType> publisher, MessageType message, int frequency, ScheduledExecutorService executorService) -
Method Summary
-
Constructor Details
-
RepeatingPublisher
public RepeatingPublisher(Publisher<MessageType> publisher, MessageType message, int frequency, ScheduledExecutorService executorService) - Parameters:
publisher-message-frequency- the frequency of publication in Hz
-
-
Method Details
-
start
public void start() -
cancel
public void cancel()
-