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

topics that create a loop

asked 2012-09-13 12:41:04 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi , I have two nodes both of which publish different custom defined messages. Node A publishes message A , and Node B publishes message B. Can node A subscribe to message B while node B subscribes to message A. I am getting error a fatal error saying that the No such file or directory for the custom defined message. When i disable node B's subscribing the message A, node can successfully publish the message B. Any help is appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-09-13 13:34:49 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

It is possible to make topics go in a loop as described. It isn't possible to declare circular dependencies between packages.

It sounds like you have a typo or have forgotten to include a package dependency somewhere.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-09-13 12:41:04 -0500

Seen: 146 times

Last updated: Sep 13 '12