You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The messages published by the lidar ros driver are often used by other nodes like localization, recognition.
At that time, a header time of lidar point message is necessary info to calculate latency or data interfolation, etc..
If the driver use the time from LiDAR sensor not roscore time, user should write codes to get rostime in duplicate.
Why use the timestamp from the LiDAR time?
HesaiLidar_General_ROS/src/main.cc
Line 95 in 035e54d
The messages published by the lidar ros driver are often used by other nodes like localization, recognition.
At that time, a header time of lidar point message is necessary info to calculate latency or data interfolation, etc..
If the driver use the time from LiDAR sensor not roscore time, user should write codes to get rostime in duplicate.
I think, below code looks more good.
pcl_conversions::toPCL(ros::Time::now(), cld->header.stamp);
The text was updated successfully, but these errors were encountered: