issue with ApproximateTime

asked 2017-12-10 21:54:27 -0500

rnunziata gravatar image

updated 2017-12-10 22:03:48 -0500

I am using a system that requires and rgb image, depth image, and camera info . Its does this by using the following:

 typedef ApproximateTime<sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo> SyncPolicy;

My problem is that the bag file I am using does not publish camera info messages. So I tried to publish it independently. But but system never invokes , I set the header to rospy.Time.now() which set the vars to zero. How I can I get the system to invoke the callback in a situation like this.

The system I am using is: depth_image_proc/point_cloud_xyzrgb The node does allow for :

but seem to have not effect: there is a possibility that there is an issue with the time stamps in the bag file. But I have not looked at that yet.

edit retag flag offensive close merge delete