资讯
Simple C++ node to get more accurate topic frequency
📌 概要
<p><a href="https://github.com/ros-misc-utilities/ros2topic_hz" rel="noopener nofollow ugc">Here is a simple C++ replacement</a> for `<code>ros2 topic hz</code>`.</p> <p>It is more accurate than the n
<p><a href="https://github.com/ros-misc-utilities/ros2topic_hz" rel="noopener nofollow ugc">Here is a simple C++ replacement</a> for `<code>ros2 topic hz</code>`.</p>
<p>It is more accurate than the native ros2 command for high frequency / high bandwidth topics. It should work for any RMW (though I tested it for Zenoh only).</p>
<p>After building the workspace, run it like this:</p>
<pre><code class="lang-bash">ros2 run ros2topic_hz ros2topic_hz --topic <topic_name> [--topic-type <topic_type>] [--interval ]
</code></pre>
<p><small>1 post - 1 participant</small></p>
<p><a href="https://discourse.openrobotics.org/t/simple-c-node-to-get-more-accurate-topic-frequency/57741">Read full topic</a></p>