ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Is there a possibility in ROS to check that in the other machine messages publish in the topic without direct transfer of messages between the machines?

asked 2018-01-29 12:38:49 -0500

baltic gravatar image

updated 2018-01-29 12:39:04 -0500

Hi,

Is there a possibility in ROS to check that in the other machine messages publish in the topic without direct transfer of messages between the machines?

I would like to transfer between machines only the information that the message was published in topic without transferring the exact things in it.

I tried to use the «Message Event», but according to traffic of the router, the messages were transmitted completely.

edit retag flag offensive close merge delete

Comments

Do you need an event per message, or are aggregate statistics enough?

gvdhoorn gravatar image gvdhoorn  ( 2018-01-29 14:21:28 -0500 )edit

Statistics is enough, but if it possible to receive an event per message, it would be better.

baltic gravatar image baltic  ( 2018-02-04 10:06:39 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2018-01-29 19:20:01 -0500

ahendrix gravatar image

If you want statistics on topic rate for monitoring and alerting, you may want to set up the ROS diagnostics framework and use the DiagnosedPublisher class from the diagnostic_updater package.

If you want to monitor aggregate statistics on the entire topic graph and you don't need monitoring or alerting, you may want to enable topic_statistics and use rqt_graph to measure the publish rate: http://wiki.ros.org/rqt_graph#Topic_s... (note that this only works for topics that are actually published and subscribed, because it's per-link and not per-publisher)

edit flag offensive delete link more

Comments

Thanks, ros statistics is what I wanted

baltic gravatar image baltic  ( 2018-02-04 10:06:49 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-01-29 12:38:49 -0500

Seen: 115 times

Last updated: Jan 29 '18