how to find rostopic hz programatically in cpp (not in python)
Hi,
I want to calculate the frequency in which a message got published on an topic, we have rostopic hz as command line tool, how to do it programatically in cpp ?
Thanks
This sounds a lot like #q291802.
i wanted to know whether any api is available for this now ?
You can just measure the difference of the header time stamps between two messages or?
@ahendrix wrote:
it's an exact duplicate.
@srikara123: there is no API available for this.