Callback Problem with Multiple Subscribers
Hi,
I am working on a project which scans rooms and builds the complete map of the room. The ros code that I wrote requires multiple subscribers (eg for Pose and Obstacles). I want the subscription to be sequential. However with the use of spin() or spinOnce() my program gets stuck in the first callback function. How do I solve this problem ?