GLIM
Loading...
Searching...
No Matches
Public Member Functions | List of all members
glim::TimeKeeper Class Reference

Utility class to unify timestamp convension. More...

#include <time_keeper.hpp>

Public Member Functions

bool process (const glim::RawPoints::Ptr &points)
 Replace frame and point timestamps.
 
bool validate_imu_stamp (const double imu_stamp)
 Check if IMU and LiDAR data are (very roughly) synchronized.
 

Detailed Description

Utility class to unify timestamp convension.

Member Function Documentation

◆ process()

bool glim::TimeKeeper::process ( const glim::RawPoints::Ptr &  points)

Replace frame and point timestamps.

Note
Frame timestamp must be the one at the moment when the first point is acquired
Point timestamps must be relative with respect to the first point
Returns
If the timestamp of the point cloud is valid

◆ validate_imu_stamp()

bool glim::TimeKeeper::validate_imu_stamp ( const double  imu_stamp)

Check if IMU and LiDAR data are (very roughly) synchronized.

Returns
If the IMU data is invalid and should be skipped, return false

The documentation for this class was generated from the following file: