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

#include <collated_trajectory_builder.h>

Inheritance diagram for cartographer::mapping::CollatedTrajectoryBuilder:
Inheritance graph
[legend]

Public Types

using SensorId = TrajectoryBuilderInterface::SensorId
 
- Public Types inherited from cartographer::mapping::TrajectoryBuilderInterface
using LocalSlamResultCallback = std::function< void(int, common::Time, transform::Rigid3d, sensor::RangeData, std::unique_ptr< const InsertionResult >)>
 

Public Member Functions

void AddLocalSlamResultData (std::unique_ptr< mapping::LocalSlamResultData > local_slam_result_data) override
 
void AddSensorData (const std::string &sensor_id, const sensor::TimedPointCloudData &timed_point_cloud_data) override
 
void AddSensorData (const std::string &sensor_id, const sensor::ImuData &imu_data) override
 
void AddSensorData (const std::string &sensor_id, const sensor::OdometryData &odometry_data) override
 
void AddSensorData (const std::string &sensor_id, const sensor::FixedFramePoseData &fixed_frame_pose_data) override
 
void AddSensorData (const std::string &sensor_id, const sensor::LandmarkData &landmark_data) override
 
 CollatedTrajectoryBuilder (sensor::CollatorInterface *sensor_collator, int trajectory_id, const std::set< SensorId > &expected_sensor_ids, std::unique_ptr< TrajectoryBuilderInterface > wrapped_trajectory_builder)
 
 CollatedTrajectoryBuilder (const CollatedTrajectoryBuilder &)=delete
 
CollatedTrajectoryBuilderoperator= (const CollatedTrajectoryBuilder &)=delete
 
 ~CollatedTrajectoryBuilder () override
 
- Public Member Functions inherited from cartographer::mapping::TrajectoryBuilderInterface
TrajectoryBuilderInterfaceoperator= (const TrajectoryBuilderInterface &)=delete
 
 TrajectoryBuilderInterface ()
 
 TrajectoryBuilderInterface (const TrajectoryBuilderInterface &)=delete
 
virtual ~TrajectoryBuilderInterface ()
 

Private Member Functions

void AddData (std::unique_ptr< sensor::Data > data)
 
void HandleCollatedSensorData (const std::string &sensor_id, std::unique_ptr< sensor::Data > data)
 

Private Attributes

std::chrono::steady_clock::time_point last_logging_time_
 
std::map< std::string, common::RateTimer<> > rate_timers_
 
sensor::CollatorInterface *const sensor_collator_
 
const int trajectory_id_
 
std::unique_ptr< TrajectoryBuilderInterfacewrapped_trajectory_builder_
 

Detailed Description

Definition at line 39 of file collated_trajectory_builder.h.

Member Typedef Documentation

◆ SensorId

Definition at line 41 of file collated_trajectory_builder.h.

Constructor & Destructor Documentation

◆ CollatedTrajectoryBuilder() [1/2]

cartographer::mapping::CollatedTrajectoryBuilder::CollatedTrajectoryBuilder ( sensor::CollatorInterface sensor_collator,
int  trajectory_id,
const std::set< SensorId > &  expected_sensor_ids,
std::unique_ptr< TrajectoryBuilderInterface wrapped_trajectory_builder 
)

Definition at line 31 of file collated_trajectory_builder.cc.

◆ ~CollatedTrajectoryBuilder()

cartographer::mapping::CollatedTrajectoryBuilder::~CollatedTrajectoryBuilder ( )
override

Definition at line 50 of file collated_trajectory_builder.cc.

◆ CollatedTrajectoryBuilder() [2/2]

cartographer::mapping::CollatedTrajectoryBuilder::CollatedTrajectoryBuilder ( const CollatedTrajectoryBuilder )
delete

Member Function Documentation

◆ AddData()

void cartographer::mapping::CollatedTrajectoryBuilder::AddData ( std::unique_ptr< sensor::Data data)
private

Definition at line 52 of file collated_trajectory_builder.cc.

◆ AddLocalSlamResultData()

void cartographer::mapping::CollatedTrajectoryBuilder::AddLocalSlamResultData ( std::unique_ptr< mapping::LocalSlamResultData local_slam_result_data)
inlineoverridevirtual

◆ AddSensorData() [1/5]

void cartographer::mapping::CollatedTrajectoryBuilder::AddSensorData ( const std::string &  sensor_id,
const sensor::TimedPointCloudData timed_point_cloud_data 
)
inlineoverridevirtual

◆ AddSensorData() [2/5]

void cartographer::mapping::CollatedTrajectoryBuilder::AddSensorData ( const std::string &  sensor_id,
const sensor::ImuData imu_data 
)
inlineoverridevirtual

◆ AddSensorData() [3/5]

void cartographer::mapping::CollatedTrajectoryBuilder::AddSensorData ( const std::string &  sensor_id,
const sensor::OdometryData odometry_data 
)
inlineoverridevirtual

◆ AddSensorData() [4/5]

void cartographer::mapping::CollatedTrajectoryBuilder::AddSensorData ( const std::string &  sensor_id,
const sensor::FixedFramePoseData fixed_frame_pose_data 
)
inlineoverridevirtual

◆ AddSensorData() [5/5]

void cartographer::mapping::CollatedTrajectoryBuilder::AddSensorData ( const std::string &  sensor_id,
const sensor::LandmarkData landmark_data 
)
inlineoverridevirtual

◆ HandleCollatedSensorData()

void cartographer::mapping::CollatedTrajectoryBuilder::HandleCollatedSensorData ( const std::string &  sensor_id,
std::unique_ptr< sensor::Data data 
)
private

Definition at line 56 of file collated_trajectory_builder.cc.

◆ operator=()

CollatedTrajectoryBuilder& cartographer::mapping::CollatedTrajectoryBuilder::operator= ( const CollatedTrajectoryBuilder )
delete

Member Data Documentation

◆ last_logging_time_

std::chrono::steady_clock::time_point cartographer::mapping::CollatedTrajectoryBuilder::last_logging_time_
private

Definition at line 96 of file collated_trajectory_builder.h.

◆ rate_timers_

std::map<std::string, common::RateTimer<> > cartographer::mapping::CollatedTrajectoryBuilder::rate_timers_
private

Definition at line 97 of file collated_trajectory_builder.h.

◆ sensor_collator_

sensor::CollatorInterface* const cartographer::mapping::CollatedTrajectoryBuilder::sensor_collator_
private

Definition at line 91 of file collated_trajectory_builder.h.

◆ trajectory_id_

const int cartographer::mapping::CollatedTrajectoryBuilder::trajectory_id_
private

Definition at line 92 of file collated_trajectory_builder.h.

◆ wrapped_trajectory_builder_

std::unique_ptr<TrajectoryBuilderInterface> cartographer::mapping::CollatedTrajectoryBuilder::wrapped_trajectory_builder_
private

Definition at line 93 of file collated_trajectory_builder.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