Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix timestamp: subtract packet time instead of full scan time
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.
- Loading branch information