Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Some googled answer looks like may solve your problem

https://answers.ros.org/question/229894/publisher-and-subscriber-using-same-node/

https://answers.ros.org/question/10797/subscribe-and-publish-in-the-same-class/