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 ?
Originally posted by ROSfc on ROS Answers with karma: 54 on 2016-11-02
Post score: 0