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 Member Functions

void AddSensorData (const string &sensor_id, std::unique_ptr< sensor::Data > data) override
 
 CollatedTrajectoryBuilder (sensor::Collator *sensor_collator, int trajectory_id, const std::unordered_set< string > &expected_sensor_ids, std::unique_ptr< GlobalTrajectoryBuilderInterface > wrapped_trajectory_builder)
 
 CollatedTrajectoryBuilder (const CollatedTrajectoryBuilder &)=delete
 
SubmapData GetSubmapData (int submap_index) override
 
int num_submaps () override
 
CollatedTrajectoryBuilderoperator= (const CollatedTrajectoryBuilder &)=delete
 
const PoseEstimatepose_estimate () const override
 
 ~CollatedTrajectoryBuilder () override
 
- Public Member Functions inherited from cartographer::mapping::TrajectoryBuilder
void AddImuData (const string &sensor_id, common::Time time, const Eigen::Vector3d &linear_acceleration, const Eigen::Vector3d &angular_velocity)
 
void AddOdometerData (const string &sensor_id, common::Time time, const transform::Rigid3d &odometer_pose)
 
void AddRangefinderData (const string &sensor_id, common::Time time, const Eigen::Vector3f &origin, const sensor::PointCloud &ranges)
 
TrajectoryBuilderoperator= (const TrajectoryBuilder &)=delete
 
 TrajectoryBuilder ()
 
 TrajectoryBuilder (const TrajectoryBuilder &)=delete
 
virtual ~TrajectoryBuilder ()
 

Private Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 39 of file collated_trajectory_builder.h.

Constructor & Destructor Documentation

cartographer::mapping::CollatedTrajectoryBuilder::CollatedTrajectoryBuilder ( sensor::Collator sensor_collator,
int  trajectory_id,
const std::unordered_set< string > &  expected_sensor_ids,
std::unique_ptr< GlobalTrajectoryBuilderInterface wrapped_trajectory_builder 
)

Definition at line 31 of file collated_trajectory_builder.cc.

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

Definition at line 47 of file collated_trajectory_builder.cc.

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

Member Function Documentation

void cartographer::mapping::CollatedTrajectoryBuilder::AddSensorData ( const string &  sensor_id,
std::unique_ptr< sensor::Data data 
)
overridevirtual
TrajectoryBuilder::SubmapData cartographer::mapping::CollatedTrajectoryBuilder::GetSubmapData ( int  submap_index)
overridevirtual
void cartographer::mapping::CollatedTrajectoryBuilder::HandleCollatedSensorData ( const string &  sensor_id,
std::unique_ptr< sensor::Data data 
)
private

Definition at line 68 of file collated_trajectory_builder.cc.

int cartographer::mapping::CollatedTrajectoryBuilder::num_submaps ( )
overridevirtual
CollatedTrajectoryBuilder& cartographer::mapping::CollatedTrajectoryBuilder::operator= ( const CollatedTrajectoryBuilder )
delete
const TrajectoryBuilder::PoseEstimate & cartographer::mapping::CollatedTrajectoryBuilder::pose_estimate ( ) const
overridevirtual

Member Data Documentation

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

Definition at line 68 of file collated_trajectory_builder.h.

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

Definition at line 69 of file collated_trajectory_builder.h.

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

Definition at line 63 of file collated_trajectory_builder.h.

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

Definition at line 64 of file collated_trajectory_builder.h.

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

Definition at line 65 of file collated_trajectory_builder.h.


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


cartographer
Author(s):
autogenerated on Mon Jun 10 2019 12:51:39