oh_my_loam/src/helper/helper.cc

9 lines
201 B
C++
Raw Normal View History

2020-10-28 21:05:35 +08:00
#include "helper.h"
namespace oh_my_loam {
float GetTime(const TPoint& pt) { return pt.time - GetScanId(pt); }
int GetScanId(const TPoint& pt) { return static_cast<int>(pt.time); }
} // oh_my_loam