Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

nodelet: Publisher subscriber

I have seen the basic working of the nodelets and even read the instruction how to port your class to nodelet. But I don't know how to make my publisher subscriber nodes into nodelet. Once of the instruction is delete the main() and put the constructor into the init(). So then where does the publisher while loop go then ? and where is my subscriber supposed to do the callback ? I am completely confused. Does anyone have a minimum working example for publisher subscriber nodelets ? Or any tips on how to do this task ?