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

#include <pose_graph_trimmer.h>

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

Public Member Functions

bool IsFinished () override
 
 PureLocalizationTrimmer (int trajectory_id, int num_submaps_to_keep)
 
void Trim (Trimmable *pose_graph) override
 
 ~PureLocalizationTrimmer () override
 
- Public Member Functions inherited from cartographer::mapping::PoseGraphTrimmer
virtual ~PoseGraphTrimmer ()
 

Private Attributes

bool finished_ = false
 
int num_submaps_to_keep_
 
const int trajectory_id_
 

Detailed Description

Definition at line 65 of file pose_graph_trimmer.h.

Constructor & Destructor Documentation

◆ PureLocalizationTrimmer()

cartographer::mapping::PureLocalizationTrimmer::PureLocalizationTrimmer ( int  trajectory_id,
int  num_submaps_to_keep 
)

Definition at line 24 of file pose_graph_trimmer.cc.

◆ ~PureLocalizationTrimmer()

cartographer::mapping::PureLocalizationTrimmer::~PureLocalizationTrimmer ( )
inlineoverride

Definition at line 68 of file pose_graph_trimmer.h.

Member Function Documentation

◆ IsFinished()

bool cartographer::mapping::PureLocalizationTrimmer::IsFinished ( )
overridevirtual

Implements cartographer::mapping::PoseGraphTrimmer.

Definition at line 45 of file pose_graph_trimmer.cc.

◆ Trim()

void cartographer::mapping::PureLocalizationTrimmer::Trim ( Trimmable pose_graph)
overridevirtual

Implements cartographer::mapping::PoseGraphTrimmer.

Definition at line 30 of file pose_graph_trimmer.cc.

Member Data Documentation

◆ finished_

bool cartographer::mapping::PureLocalizationTrimmer::finished_ = false
private

Definition at line 76 of file pose_graph_trimmer.h.

◆ num_submaps_to_keep_

int cartographer::mapping::PureLocalizationTrimmer::num_submaps_to_keep_
private

Definition at line 75 of file pose_graph_trimmer.h.

◆ trajectory_id_

const int cartographer::mapping::PureLocalizationTrimmer::trajectory_id_
private

Definition at line 74 of file pose_graph_trimmer.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