Function mrpt::ros2bridge::fixLivoxTimestampsIfNeeded

Function Documentation

void mrpt::ros2bridge::fixLivoxTimestampsIfNeeded(mrpt::maps::CPointsMap &pts)

If the per-point timestamps in a point map look like nanoseconds (span > 1e5), convert them to seconds in-place.

This handles a quirk of the Livox ROS driver that publishes double-typed timestamps that are actually in nanoseconds.