0
$\begingroup$

Rosanswers logo

Can anybody provide me an example for using publisher and subscriber with the same node? I want to publish a topic from node 1 and then subscribe to that topic from node 2 and then publish the subscribed data from node 2 to another topic!


Originally posted by SarSam on ROS Answers with karma: 37 on 2016-03-22

Post score: 1

$\endgroup$

3 Answers 3

0
$\begingroup$

Rosanswers logo

This is a pretty frequently asked question, with lots of answers. The first four results that I get on Google all have reasonable answers with examples and discussions of the pros and cons of the various approaches:


Originally posted by ahendrix with karma: 47576 on 2016-03-22

This answer was ACCEPTED on the original site

Post score: 3

$\endgroup$
0
$\begingroup$

Rosanswers logo

The above links didn't help me hardly at all, and I kept tripping across this thread while searching on this topic. Sorry for the very late post, but the below link really helped me out, and I wish I hadn't had to dig so much for it:

Hope it helps someone else out too!


Originally posted by KenLafond with karma: 61 on 2018-03-15

This answer was NOT ACCEPTED on the original site

Post score: 6

$\endgroup$
0
$\begingroup$

Rosanswers logo

I kind of like this one: https://www.youtube.com/watch?v=lR3cK9ZoAF8 Hope this may help


Originally posted by lochlomond with karma: 61 on 2019-08-09

This answer was NOT ACCEPTED on the original site

Post score: 1


Original comments

Comment by WangTCU on 2020-10-03:
Please trust this guy. His youtube link helped me!

$\endgroup$

Your Answer

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