How to synchronize two different ros programs?
I'm running two programs. One is image_pipeline to generate point cloud data from stereo images, and another is detection algorithm on 2D images. The main theme of these programs are to identify the object in 2D image and find the corresponding points located in point cloud data i.e., finding the object in three dimensional.
But here, the image pipeline algorithm is running very fast and detection algorithm is too slow. When both the algorithms are running, the image and point cloud data's are not getting synchronised. Can anyone please help me how to get rid of this kind of problems in ROS.
power of probability