pf_lidar_ros_driver icon indicating copy to clipboard operation
pf_lidar_ros_driver copied to clipboard

Fix timestamp: subtract packet time instead of full scan time

Open MichaelGrupp opened this issue 1 month ago • 0 comments

The previous timestamp patch in PR #104 subtracted the full scan time from the last point time of the first packet to determine the scan timestamp.

It has to be the time for a single packet instead. Otherwise, the timestamp is too far in the past.

This is especially noticeable when the scan frequency is in a lower range like 10Hz, i.e. the scan timestamp would be 100ms off compared to other sensor modalities.

MichaelGrupp avatar May 10 '24 14:05 MichaelGrupp