ApproximateTimeQueue Class Reference

The ApproximateTimeQueue class. More...

#include <armarx/localization_and_mapping/cartographer_adapter/ApproximateTimeQueue.h>

Public Member Functions

 ApproximateTimeQueue (int64_t dt, int64_t dtHistoryLength, const std::set< std::string > &laserSensorIds, MessageCallee &messageCallee, bool useOdometry)
 Construct a new Approximate Time Queue object. More...
 
void insertLaserData (LaserScannerMessage message)
 
void insertOdomData (armarx::localization_and_mapping::cartographer_adapter::PoseStamped odomPose)
 

Detailed Description

The ApproximateTimeQueue class.

Synchronizes incoming data and returns shapshots.

Definition at line 65 of file ApproximateTimeQueue.h.

Constructor & Destructor Documentation

◆ ApproximateTimeQueue()

ApproximateTimeQueue ( int64_t  dt,
int64_t  dtHistoryLength,
const std::set< std::string > &  laserSensorIds,
MessageCallee messageCallee,
bool  useOdometry 
)

Construct a new Approximate Time Queue object.

Parameters
dt[µs] time delay to limit processing of messages (inverse of frequency)
laserSensorIdsthe laser sensors that are used
messageCalleeonce messages are available, the data will be made available to the MessageCallee

Definition at line 18 of file ApproximateTimeQueue.cpp.

Member Function Documentation

◆ insertLaserData()

void insertLaserData ( LaserScannerMessage  message)

Definition at line 48 of file ApproximateTimeQueue.cpp.

+ Here is the call graph for this function:

◆ insertOdomData()

Definition at line 75 of file ApproximateTimeQueue.cpp.

+ Here is the call graph for this function:

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