The precision of float is not enough to represent Walltime. I've enabled a PTP server on my host, so the Livox msgs have accurate time stamp. We should use double to store it when convert toSec.
Using <opencv2/core.hpp> to support both OpenCV3 and OpenCV4.