How to synchronize two different ros programs?

asked 2018-08-06 23:30:15 -0500

Apple gravatar image

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.

edit retag flag offensive close merge delete

Comments

power of probability

0xd1ma gravatar image 0xd1ma  ( 2018-08-08 01:54:21 -0500 )edit