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

#include <submap_2d.h>

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

Public Member Functions

void Finish ()
 
const Grid2Dgrid () const
 
void InsertRangeData (const sensor::RangeData &range_data, const RangeDataInserterInterface *range_data_inserter)
 
 Submap2D (const Eigen::Vector2f &origin, std::unique_ptr< Grid2D > grid)
 
 Submap2D (const proto::Submap2D &proto)
 
void ToProto (proto::Submap *proto, bool include_probability_grid_data) const override
 
void ToResponseProto (const transform::Rigid3d &global_submap_pose, proto::SubmapQuery::Response *response) const override
 
void UpdateFromProto (const proto::Submap &proto) override
 
- Public Member Functions inherited from cartographer::mapping::Submap
bool finished () const
 
transform::Rigid3d local_pose () const
 
int num_range_data () const
 
void set_finished (bool finished)
 
void set_num_range_data (const int num_range_data)
 
 Submap (const transform::Rigid3d &local_submap_pose)
 
virtual ~Submap ()
 

Private Attributes

std::unique_ptr< Grid2Dgrid_
 

Detailed Description

Definition at line 42 of file submap_2d.h.

Constructor & Destructor Documentation

◆ Submap2D() [1/2]

cartographer::mapping::Submap2D::Submap2D ( const Eigen::Vector2f &  origin,
std::unique_ptr< Grid2D grid 
)

Definition at line 64 of file submap_2d.cc.

◆ Submap2D() [2/2]

cartographer::mapping::Submap2D::Submap2D ( const proto::Submap2D &  proto)
explicit

Definition at line 70 of file submap_2d.cc.

Member Function Documentation

◆ Finish()

void cartographer::mapping::Submap2D::Finish ( )

Definition at line 122 of file submap_2d.cc.

◆ grid()

const Grid2D* cartographer::mapping::Submap2D::grid ( ) const
inline

Definition at line 54 of file submap_2d.h.

◆ InsertRangeData()

void cartographer::mapping::Submap2D::InsertRangeData ( const sensor::RangeData range_data,
const RangeDataInserterInterface range_data_inserter 
)

Definition at line 113 of file submap_2d.cc.

◆ ToProto()

void cartographer::mapping::Submap2D::ToProto ( proto::Submap *  proto,
bool  include_probability_grid_data 
) const
overridevirtual

Implements cartographer::mapping::Submap.

Definition at line 80 of file submap_2d.cc.

◆ ToResponseProto()

void cartographer::mapping::Submap2D::ToResponseProto ( const transform::Rigid3d global_submap_pose,
proto::SubmapQuery::Response *  response 
) const
overridevirtual

Implements cartographer::mapping::Submap.

Definition at line 103 of file submap_2d.cc.

◆ UpdateFromProto()

void cartographer::mapping::Submap2D::UpdateFromProto ( const proto::Submap &  proto)
overridevirtual

Implements cartographer::mapping::Submap.

Definition at line 92 of file submap_2d.cc.

Member Data Documentation

◆ grid_

std::unique_ptr<Grid2D> cartographer::mapping::Submap2D::grid_
private

Definition at line 63 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