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

#include <hybrid_grid.h>

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

Public Member Functions

bool ApplyLookupTable (const Eigen::Array3i &index, const std::vector< uint16 > &table)
 
void FinishUpdate ()
 
float GetProbability (const Eigen::Array3i &index) const
 
 HybridGrid (const float resolution)
 
 HybridGrid (const proto::HybridGrid &proto)
 
bool IsKnown (const Eigen::Array3i &index) const
 
void SetProbability (const Eigen::Array3i &index, const float probability)
 
proto::HybridGrid ToProto () const
 
- Public Member Functions inherited from cartographer::mapping::HybridGridBase< uint16 >
Iterator begin () const
 
Iterator end () const
 
Eigen::Array3i GetCellIndex (const Eigen::Vector3f &point) const
 
Eigen::Vector3f GetCenterOfCell (const Eigen::Array3i &index) const
 
 HybridGridBase (const float resolution)
 
float resolution () const
 
- Public Member Functions inherited from cartographer::mapping::DynamicGrid< WrappedGrid >
 DynamicGrid ()
 
 DynamicGrid (DynamicGrid &&)=default
 
int grid_size () const
 
ValueTypemutable_value (const Eigen::Array3i &index)
 
DynamicGridoperator= (DynamicGrid &&)=default
 
ValueType value (const Eigen::Array3i &index) const
 

Private Attributes

std::vector< ValueType * > update_indices_
 

Additional Inherited Members

- Public Types inherited from cartographer::mapping::HybridGridBase< uint16 >
using Iterator = typename GridBase< uint16 >::Iterator
 
- Public Types inherited from cartographer::mapping::DynamicGrid< WrappedGrid >
using ValueType = typename WrappedGrid::ValueType
 
- Static Public Member Functions inherited from cartographer::mapping::HybridGridBase< uint16 >
static Eigen::Array3i GetOctant (const int i)
 

Detailed Description

Definition at line 468 of file hybrid_grid.h.

Constructor & Destructor Documentation

◆ HybridGrid() [1/2]

cartographer::mapping::HybridGrid::HybridGrid ( const float  resolution)
inlineexplicit

Definition at line 470 of file hybrid_grid.h.

◆ HybridGrid() [2/2]

cartographer::mapping::HybridGrid::HybridGrid ( const proto::HybridGrid &  proto)
inlineexplicit

Definition at line 473 of file hybrid_grid.h.

Member Function Documentation

◆ ApplyLookupTable()

bool cartographer::mapping::HybridGrid::ApplyLookupTable ( const Eigen::Array3i &  index,
const std::vector< uint16 > &  table 
)
inline

Definition at line 507 of file hybrid_grid.h.

◆ FinishUpdate()

void cartographer::mapping::HybridGrid::FinishUpdate ( )
inline

Definition at line 492 of file hybrid_grid.h.

◆ GetProbability()

float cartographer::mapping::HybridGrid::GetProbability ( const Eigen::Array3i &  index) const
inline

Definition at line 521 of file hybrid_grid.h.

◆ IsKnown()

bool cartographer::mapping::HybridGrid::IsKnown ( const Eigen::Array3i &  index) const
inline

Definition at line 526 of file hybrid_grid.h.

◆ SetProbability()

void cartographer::mapping::HybridGrid::SetProbability ( const Eigen::Array3i &  index,
const float  probability 
)
inline

Definition at line 487 of file hybrid_grid.h.

◆ ToProto()

proto::HybridGrid cartographer::mapping::HybridGrid::ToProto ( ) const
inline

Definition at line 528 of file hybrid_grid.h.

Member Data Documentation

◆ update_indices_

std::vector<ValueType*> cartographer::mapping::HybridGrid::update_indices_
private

Definition at line 544 of file hybrid_grid.h.


The documentation for this class was generated from the following file:


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59