Get topic rate from my node
Hi all! I have a node subscribed to a topic. In principle, the topic rate is constant but unknown from the node. Does exist a method to get the rate of this topic from my node program? Something similar to use "$rostopic hz" from console but from the code program.
Thanks in advance!