Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to control subscriber rate in Gazebo plugin

Hi! I have made a C++ Gazebo plugin that simply prints the Twist data it is receiving from a topic. The rate of publishing on the topic by a node has been fixed by me. Is there any way in which I can control the OnUpdate function in the plugin to match the frequency of publishing?

Here's my plugin: C:\fakepath\

Any help would be greatly appreciated.