ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
From the man page you link:
lcm-spy collects the following statistics for each channel:
- Channel name
This would be topic I guess in ROS: rostopic list
/ rosservice list
(although those are not channels). If you want a GUI tool: rqt_graph
.
- Number of messages received
This is a bit trickier, and would need some bash scripting to keep a running total. Perhaps another member can suggest a suitable one-liner.
- Message Rate (Hz)
rostopic hz /topic_name
- Bandwidth (KB/s)
rostopic bw /topic_name
See also wiki/rostopic.
Note that these statistics are all relative to the start of a rostopic
invocation.
You might also be interested in wiki/Topics - Topic statistics and rqt_graphprofiler.
2 | No.2 Revision |
From the man page you link:
lcm-spy collects the following statistics for each channel:
- Channel name
This would be topic I guess in ROS: rostopic list
/ rosservice list
(although those are not channels). If you want a GUI tool: rqt_graph
.
- Number of messages received
This is a bit trickier, and would need some bash scripting to keep a running total. Perhaps another member can suggest a suitable one-liner.
- Message Rate (Hz)
rostopic hz /topic_name
- Bandwidth (KB/s)
rostopic bw /topic_name
See also wiki/rostopic.
Note that these statistics are all relative to the start of a rostopic
invocation.
You might also be interested in wiki/Topics - Topic statistics and rqt_graphprofiler.
Edit:
[..] and examine the content of individual messages.
That would be rostopic echo /topic_name
. Be aware that this can result in a lot of data for high-frequency / high-volume topics.