how to get timestamps for all the points int he pointcloud from rosbag or filtered_points topic
Hi,
We are working on a commercial project. We have developed our own localization stack. That is working pretty fine. We though of integrating our stack to autoware.ai. For that we ran NDT based localization in autoware.ai.
We used a Velodyne lidar (used the sample rosbag provided on the GitHub) to perform ndt matching using autoware ai. We have successfully run the localization demo. Now while integrating out stack with autoware.ai, the problem we are facing regarding the timestamp on points in pointcloud. Point cloud is of type pcl::PointCloud<pcl::pointxyz>. It has x y and z values only. Out stack demands the points should be stamped with a time (basically x, y, z and time).
I am not sure if it is a right place to ask about experts comment. Is there anyway I can get timestamp for all the points along with the x y and z values. Appreciate If someone can help.