Robotics StackExchange | Archived questions

Time stamp when getting image

How to output the time to obtain point cloud information (pointcloud2) and RGB image information (image) when the code receives these information (each frame).

rospy.Subscriber('/color/image_raw', Image, rgb_callback)   
rospy.Subscriber('/depth/points', PointCloud2, points_callback)

Asked by kankanzheli on 2022-03-08 10:02:03 UTC

Comments

Answers