Writing a Python node that publishes AND subscribes to topics of different message frequency
Hi,
I'm trying to write a node in Python that subscribes to a topic and listens to another.
One way I have managed to do that is by issuing the publish command in the callback. However, this approach only lets my node publish when a new message comes in from the topic it is subscribed to. So my publisher is "constrained" to the subscribed topic's frequency.
Is there an other way to do this? I've looked online and couldn't find anything.
Thanks in advance, Ernest