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

Python node with more than one publisher/subscriber

asked 2014-01-20 07:48:22 -0600

david.c.liebman gravatar image

updated 2014-01-28 17:19:06 -0600

ngrennan gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-01-20 08:18:01 -0600

ahendrix gravatar image

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)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-01-20 07:48:22 -0600

Seen: 305 times

Last updated: Jan 20 '14