#include <probability_grid.h>
Public Member Functions | |
bool | ApplyLookupTable (const Eigen::Array2i &cell_index, const std::vector< uint16 > &table) |
virtual std::unique_ptr< Grid2D > | ComputeCroppedGrid () const override |
virtual bool | DrawToSubmapTexture (proto::SubmapQuery::Response::SubmapTexture *const texture, transform::Rigid3d local_pose) const override |
float | GetProbability (const Eigen::Array2i &cell_index) const |
ProbabilityGrid (const MapLimits &limits) | |
ProbabilityGrid (const proto::Grid2D &proto) | |
void | SetProbability (const Eigen::Array2i &cell_index, const float probability) |
virtual proto::Grid2D | ToProto () const override |
Public Member Functions inherited from cartographer::mapping::Grid2D | |
void | ComputeCroppedLimits (Eigen::Array2i *const offset, CellLimits *const limits) const |
void | FinishUpdate () |
float | GetCorrespondenceCost (const Eigen::Array2i &cell_index) const |
float | GetMaxCorrespondenceCost () const |
float | GetMinCorrespondenceCost () const |
Grid2D (const MapLimits &limits, float min_correspondence_cost, float max_correspondence_cost) | |
Grid2D (const proto::Grid2D &proto) | |
virtual void | GrowLimits (const Eigen::Vector2f &point) |
bool | IsKnown (const Eigen::Array2i &cell_index) const |
const MapLimits & | limits () const |
Additional Inherited Members | |
Protected Member Functions inherited from cartographer::mapping::Grid2D | |
const std::vector< uint16 > & | correspondence_cost_cells () const |
const Eigen::AlignedBox2i & | known_cells_box () const |
std::vector< uint16 > * | mutable_correspondence_cost_cells () |
Eigen::AlignedBox2i * | mutable_known_cells_box () |
std::vector< int > * | mutable_update_indices () |
int | ToFlatIndex (const Eigen::Array2i &cell_index) const |
const std::vector< int > & | update_indices () const |
Definition at line 31 of file probability_grid.h.
|
explicit |
Definition at line 27 of file probability_grid.cc.
|
explicit |
Definition at line 30 of file probability_grid.cc.
bool cartographer::mapping::ProbabilityGrid::ApplyLookupTable | ( | const Eigen::Array2i & | cell_index, |
const std::vector< uint16 > & | table | ||
) |
Definition at line 53 of file probability_grid.cc.
|
overridevirtual |
Implements cartographer::mapping::Grid2D.
Definition at line 82 of file probability_grid.cc.
|
overridevirtual |
Implements cartographer::mapping::Grid2D.
Definition at line 100 of file probability_grid.cc.
float cartographer::mapping::ProbabilityGrid::GetProbability | ( | const Eigen::Array2i & | cell_index | ) | const |
Definition at line 69 of file probability_grid.cc.
void cartographer::mapping::ProbabilityGrid::SetProbability | ( | const Eigen::Array2i & | cell_index, |
const float | probability | ||
) |
Definition at line 36 of file probability_grid.cc.
|
overridevirtual |
Reimplemented from cartographer::mapping::Grid2D.
Definition at line 75 of file probability_grid.cc.