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

#include <fast_correlative_scan_matcher_2d.h>

Public Member Functions

int GetValue (const Eigen::Array2i &xy_index) const
 
 PrecomputationGrid2D (const Grid2D &grid, const CellLimits &limits, int width, std::vector< float > *reusable_intermediate_grid)
 
float ToScore (float value) const
 

Private Member Functions

uint8 ComputeCellValue (float probability) const
 

Private Attributes

std::vector< uint8cells_
 
const float max_score_
 
const float min_score_
 
const Eigen::Array2i offset_
 
const CellLimits wide_limits_
 

Detailed Description

Definition at line 49 of file fast_correlative_scan_matcher_2d.h.

Constructor & Destructor Documentation

◆ PrecomputationGrid2D()

cartographer::mapping::scan_matching::PrecomputationGrid2D::PrecomputationGrid2D ( const Grid2D grid,
const CellLimits limits,
int  width,
std::vector< float > *  reusable_intermediate_grid 
)

Definition at line 91 of file fast_correlative_scan_matcher_2d.cc.

Member Function Documentation

◆ ComputeCellValue()

uint8 cartographer::mapping::scan_matching::PrecomputationGrid2D::ComputeCellValue ( float  probability) const
private

Definition at line 163 of file fast_correlative_scan_matcher_2d.cc.

◆ GetValue()

int cartographer::mapping::scan_matching::PrecomputationGrid2D::GetValue ( const Eigen::Array2i &  xy_index) const
inline

Definition at line 56 of file fast_correlative_scan_matcher_2d.h.

◆ ToScore()

float cartographer::mapping::scan_matching::PrecomputationGrid2D::ToScore ( float  value) const
inline

Definition at line 74 of file fast_correlative_scan_matcher_2d.h.

Member Data Documentation

◆ cells_

std::vector<uint8> cartographer::mapping::scan_matching::PrecomputationGrid2D::cells_
private

Definition at line 92 of file fast_correlative_scan_matcher_2d.h.

◆ max_score_

const float cartographer::mapping::scan_matching::PrecomputationGrid2D::max_score_
private

Definition at line 89 of file fast_correlative_scan_matcher_2d.h.

◆ min_score_

const float cartographer::mapping::scan_matching::PrecomputationGrid2D::min_score_
private

Definition at line 88 of file fast_correlative_scan_matcher_2d.h.

◆ offset_

const Eigen::Array2i cartographer::mapping::scan_matching::PrecomputationGrid2D::offset_
private

Definition at line 83 of file fast_correlative_scan_matcher_2d.h.

◆ wide_limits_

const CellLimits cartographer::mapping::scan_matching::PrecomputationGrid2D::wide_limits_
private

Definition at line 86 of file fast_correlative_scan_matcher_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