How to get rostopic hz average for first 5 values?
Is there a way to get the average of first values and print for rostopic hz?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Is there a way to get the average of first values and print for rostopic hz?
Yes; you can use the -w
option to set the number of samples that rostopic hz
will use when calculating the topic frequency. The full list of command-line options for rostopic hz is documented on the rostopic wiki
Asked: 2018-12-08 05:16:24 -0500
Seen: 1,011 times
Last updated: Dec 08 '18
float error while using a float - custom messages
Getting Euler angles to publish at 255Hz from the um7_driver
ROS in arm/v7, Docker, and Limited Storage Robot
Update odometry based on pose estimate
ament_export_dependencies(Boost) not working?
[ROS 2] How is the name of the typesupport library generated?
What is the purpose of rclpy.spin_until_future_complete?
[rospack] Error: the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'