Closed Eternali closed 5 years ago
I'm closing this because it is a feature that should be implemented by the user if they need it and not a responsibility of the library. Roslib shouldn't provide the ability to repeatedly send stale data and clog up the rosbridge socket.
Add ability to repeatedly publish a message to a topic. This could be implemented as an additional parameter to the
topic.publish
method.It should provide the ability to continuously publish for a set amount of time or indefinitely until a separate method is called. The rate at which messages are sent could be constrained by the preexisting
topic.throttleRate
variable.This should provide the ability to continuously publish a constant message object, or be provided a method used to form the message that is called on each publish.