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

#include <submap_2d.h>

Public Member Functions

 ActiveSubmaps2D (const proto::SubmapsOptions2D &options)
 
 ActiveSubmaps2D (const ActiveSubmaps2D &)=delete
 
void InsertRangeData (const sensor::RangeData &range_data)
 
int matching_index () const
 
ActiveSubmaps2Doperator= (const ActiveSubmaps2D &)=delete
 
std::vector< std::shared_ptr< Submap2D > > submaps () const
 

Private Member Functions

void AddSubmap (const Eigen::Vector2f &origin)
 
std::unique_ptr< GridInterfaceCreateGrid (const Eigen::Vector2f &origin)
 
std::unique_ptr< RangeDataInserterInterfaceCreateRangeDataInserter ()
 
void FinishSubmap ()
 

Private Attributes

int matching_submap_index_ = 0
 
const proto::SubmapsOptions2D options_
 
std::unique_ptr< RangeDataInserterInterfacerange_data_inserter_
 
std::vector< std::shared_ptr< Submap2D > > submaps_
 

Detailed Description

Definition at line 75 of file submap_2d.h.

Constructor & Destructor Documentation

◆ ActiveSubmaps2D() [1/2]

cartographer::mapping::ActiveSubmaps2D::ActiveSubmaps2D ( const proto::SubmapsOptions2D &  options)
explicit

Definition at line 129 of file submap_2d.cc.

◆ ActiveSubmaps2D() [2/2]

cartographer::mapping::ActiveSubmaps2D::ActiveSubmaps2D ( const ActiveSubmaps2D )
delete

Member Function Documentation

◆ AddSubmap()

void cartographer::mapping::ActiveSubmaps2D::AddSubmap ( const Eigen::Vector2f &  origin)
private

Definition at line 177 of file submap_2d.cc.

◆ CreateGrid()

std::unique_ptr< GridInterface > cartographer::mapping::ActiveSubmaps2D::CreateGrid ( const Eigen::Vector2f &  origin)
private

Definition at line 159 of file submap_2d.cc.

◆ CreateRangeDataInserter()

std::unique_ptr< RangeDataInserterInterface > cartographer::mapping::ActiveSubmaps2D::CreateRangeDataInserter ( )
private

Definition at line 153 of file submap_2d.cc.

◆ FinishSubmap()

void cartographer::mapping::ActiveSubmaps2D::FinishSubmap ( )
private

Definition at line 170 of file submap_2d.cc.

◆ InsertRangeData()

void cartographer::mapping::ActiveSubmaps2D::InsertRangeData ( const sensor::RangeData range_data)

Definition at line 143 of file submap_2d.cc.

◆ matching_index()

int cartographer::mapping::ActiveSubmaps2D::matching_index ( ) const

Definition at line 141 of file submap_2d.cc.

◆ operator=()

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

◆ submaps()

std::vector< std::shared_ptr< Submap2D > > cartographer::mapping::ActiveSubmaps2D::submaps ( ) const

Definition at line 137 of file submap_2d.cc.

Member Data Documentation

◆ matching_submap_index_

int cartographer::mapping::ActiveSubmaps2D::matching_submap_index_ = 0
private

Definition at line 98 of file submap_2d.h.

◆ options_

const proto::SubmapsOptions2D cartographer::mapping::ActiveSubmaps2D::options_
private

Definition at line 97 of file submap_2d.h.

◆ range_data_inserter_

std::unique_ptr<RangeDataInserterInterface> cartographer::mapping::ActiveSubmaps2D::range_data_inserter_
private

Definition at line 100 of file submap_2d.h.

◆ submaps_

std::vector<std::shared_ptr<Submap2D> > cartographer::mapping::ActiveSubmaps2D::submaps_
private

Definition at line 99 of file submap_2d.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