Public Member Functions | Private Member Functions | Private Attributes | List of all members
cartographer::mapping::RangeDataCollator Class Reference

#include <range_data_collator.h>

Public Member Functions

sensor::TimedPointCloudOriginData AddRangeData (const std::string &sensor_id, const sensor::TimedPointCloudData &timed_point_cloud_data)
 
 RangeDataCollator (const std::vector< std::string > &expected_range_sensor_ids)
 

Private Member Functions

sensor::TimedPointCloudOriginData CropAndMerge ()
 

Private Attributes

common::Time current_end_ = common::Time::min()
 
common::Time current_start_ = common::Time::min()
 
const std::set< std::string > expected_sensor_ids_
 
std::map< std::string, sensor::TimedPointCloudDataid_to_pending_data_
 

Detailed Description

Definition at line 33 of file range_data_collator.h.

Constructor & Destructor Documentation

◆ RangeDataCollator()

cartographer::mapping::RangeDataCollator::RangeDataCollator ( const std::vector< std::string > &  expected_range_sensor_ids)
inlineexplicit

Definition at line 35 of file range_data_collator.h.

Member Function Documentation

◆ AddRangeData()

sensor::TimedPointCloudOriginData cartographer::mapping::RangeDataCollator::AddRangeData ( const std::string &  sensor_id,
const sensor::TimedPointCloudData timed_point_cloud_data 
)

Definition at line 28 of file range_data_collator.cc.

◆ CropAndMerge()

sensor::TimedPointCloudOriginData cartographer::mapping::RangeDataCollator::CropAndMerge ( )
private

Definition at line 56 of file range_data_collator.cc.

Member Data Documentation

◆ current_end_

common::Time cartographer::mapping::RangeDataCollator::current_end_ = common::Time::min()
private

Definition at line 51 of file range_data_collator.h.

◆ current_start_

common::Time cartographer::mapping::RangeDataCollator::current_start_ = common::Time::min()
private

Definition at line 50 of file range_data_collator.h.

◆ expected_sensor_ids_

const std::set<std::string> cartographer::mapping::RangeDataCollator::expected_sensor_ids_
private

Definition at line 47 of file range_data_collator.h.

◆ id_to_pending_data_

std::map<std::string, sensor::TimedPointCloudData> cartographer::mapping::RangeDataCollator::id_to_pending_data_
private

Definition at line 49 of file range_data_collator.h.


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


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59