0
$\begingroup$

Rosanswers logo

Is it possible to make a ros python node that has more than one subscriber and more than one publisher? Are there examples of this?


Originally posted by david.c.liebman on ROS Answers with karma: 125 on 2014-01-20

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Yes.

I'm not aware of any good examples offhand, but the basic principle is that you simply instantiate multiple copies of the publisher and subscriber objects.

(I also believe that this question has been asked and answered before)


Originally posted by ahendrix with karma: 47576 on 2014-01-20

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.