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\my_plugin.cc
Any help would be greatly appreciated.