0
$\begingroup$

Rosanswers logo

Can a subscriber subscribe to two topics messages in ROS?


Originally posted by Ros User on ROS Answers with karma: 40 on 2016-04-26

Post score: 1

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Just create two subscribers. They can have the same callback function assuming the message types are the same.


Originally posted by jacobperron with karma: 1870 on 2016-04-26

This answer was ACCEPTED on the original site

Post score: 3


Original comments

Comment by Ros User on 2016-05-10:
Thanks. It worked for me.

$\endgroup$

Your Answer

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