-
Notifications
You must be signed in to change notification settings - Fork 912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Topic/Connection statistic measurements #398
Conversation
As @tfoote mentioned on the other PR the name |
"Age" fits better. "Delay" was what I originally wanted to measure, but I couldn't figure out a way to do it without modifying the TCPROS protocol. Taking the header stamp was the next best thing I could think of. But it's not the same, obviously. I'll rename the variables etc. to "age". |
This patch adds a module to roscpp/rospy that monitors some metrics over every ROS connection (period, dropped messages, traffic, age) and periodically sends out aggregated statistics data over a common topic /statistics. It is designed to be lightweight so it can be used in "production" environments. Statistics monitoring is disabled by default. It has to be enabled explicitly using "rosparam set enable_statistics true".
Topic/Connection statistic measurements
Can you please add some documentation about this feature to the wiki? Either under ros_comm / roscpp / rospy or the rqt plugin or both - I am not sure where it makes more sense. |
Sure, I will amend the wiki (probably at both at ros_comm and rqt_graph with references to each other). Thanks for merging this! |
Topic/Connection statistic measurements
@forouher FYI
This PR replaces #383. I have:
Please provide further patches against this branch.