Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Does the launch order of subscriber vs publisher nodes to a same topic count?

Hi,

I'm getting some trouble with my ROS system. I have one publisher node (Pub_B) and two subscriber nodes (Sub_A, and Sub_C) communicating with Pub_B via the same topic /my_topic. The launch order is Sub_A -> Pub_B -> Sub_C

At the beginning Sub_A can receive the messages of Pub_B normally but Sub_C or any other subscriber launched after the publisher even rostopic echo don't receive anything.

When killing and re-running the Pub_A node, Sub_C receive its messages but Sub_A no longer do.

When checking the rqt_graph and running rostopic info /my_topic, the connections does appear correctly. even though the communication is not working as expected.

I did believe that the launch order does not count till this unexpected issue. I need to know the possible causes of a similar behaviour. Your help would be appreciated and please feel free to ask for more details if needed.

Jasmine

Does the launch order of subscriber vs publisher nodes to a same topic count?

Hi,

I'm getting some trouble with my ROS system. I have one publisher node (Pub_B) and two subscriber nodes (Sub_A, and Sub_C) communicating with Pub_B via the same topic /my_topic. The launch order is Sub_A -> Pub_B -> Sub_C

At the beginning Sub_A can receive the messages of Pub_B normally but Sub_C or any other subscriber launched after the publisher even rostopic echo don't receive anything.

When killing and re-running the Pub_A node, Sub_C receive its messages but Sub_A no longer do.

When checking the rqt_graph and running rostopic info /my_topic, the connections does appear correctly. even though the communication is not working as expected.

I did believe that the launch order does not count till this unexpected issue. I need to know the possible causes of a similar behaviour. Your help would be appreciated and please feel free to ask for more details if needed.

Jasmine

Does the launch order of subscriber vs publisher nodes to a same topic count?

Hi,

I'm getting some trouble with my ROS system. I have one publisher node (Pub_B) and two subscriber nodes (Sub_A, and Sub_C) communicating with Pub_B via the same topic /my_topic. The launch order is Sub_A -> Pub_B -> Sub_C

At the beginning Sub_A can receive the messages of Pub_B normally but Sub_C or any other subscriber launched after the publisher even rostopic echo don't receive anything.

When killing and re-running the Pub_A node, Sub_C receive its messages but Sub_A no longer do.

When checking the rqt_graph and running rostopic info /my_topic, the connections does appear correctly. even though the communication is not working as expected.

I did believe that the launch order does not count till this unexpected issue. I need to know the possible causes of a similar behaviour. behaviour.

Your help would be appreciated and please feel free to ask for more details if needed.

Jasmine

Does the launch order of subscriber vs publisher nodes count?

Hi,

I'm getting some trouble with my ROS system. I have one publisher node (Pub_B) and two subscriber nodes (Sub_A, and Sub_C) communicating with Pub_B via the same topic /my_topic. The launch order is Sub_A -> Pub_B -> Sub_C

At the beginning Sub_A can receive the messages of Pub_B normally but Sub_C or any other subscriber launched after the publisher even rostopic echo don't receive anything.

When killing and re-running the Pub_APub_B node, Sub_C receive its messages but Sub_A no longer do.

When checking the rqt_graph and running rostopic info /my_topic, the connections does appear correctly. even though the communication is not working as expected.

I did believe that the launch order does not count till this unexpected issue. I need to know the possible causes of a similar behaviour.

Your help would be appreciated and please feel free to ask for more details if needed.

Jasmine