How to use composition instead of nodelets?
I have read the theory behind the compositions but in practice, I find it confusing on how to replace the nodelets in ROS1 to compositions in ROS2. More specifically, consider this code:
https://github.com/introlab/rtabmap_r...
As you can see, the nodelets are being created and it has a main function wheres compositions do not have any main functions. Can someone advice?