Public Member Functions | Private Types | Private Attributes | List of all members
planner_cspace::planner_3d::CostmapBBFImpl Class Reference

#include <costmap_bbf.h>

Inheritance diagram for planner_cspace::planner_3d::CostmapBBFImpl:
Inheritance graph
[legend]

Public Member Functions

void clear ()
 
 CostmapBBFImpl ()
 
void forEach (const std::function< void(const Vec &, bbf::BinaryBayesFilter &)> cb)
 
char getCost (const Vec &p) const
 
void remember (const BlockMemGridmapBase< char, 3, 2 > *const costmap, const Vec &center, const float remember_hit_odds, const float remember_miss_odds, const int range_min, const int range_max)
 
void reset (const Vec &size)
 
void updateCostmap ()
 

Private Types

using VecInternal = CyclicVecInt< 2, 2 >
 

Private Attributes

BlockMemGridmap< char, 2, 2, 0x80 > cm_hist_
 
BlockMemGridmap< bbf::BinaryBayesFilter, 2, 2, 0x20 > cm_hist_bbf_
 
Vec size_
 
VecInternal updated_max_
 
VecInternal updated_min_
 

Additional Inherited Members

- Public Types inherited from planner_cspace::planner_3d::CostmapBBF
using ConstPtr = std::shared_ptr< const CostmapBBF >
 
using Ptr = std::shared_ptr< CostmapBBF >
 
using Vec = CyclicVecInt< 3, 2 >
 

Detailed Description

Definition at line 62 of file costmap_bbf.h.

Member Typedef Documentation

◆ VecInternal

Definition at line 65 of file costmap_bbf.h.

Constructor & Destructor Documentation

◆ CostmapBBFImpl()

planner_cspace::planner_3d::CostmapBBFImpl::CostmapBBFImpl ( )
inline

Definition at line 73 of file costmap_bbf.h.

Member Function Documentation

◆ clear()

void planner_cspace::planner_3d::CostmapBBFImpl::clear ( )
inlinevirtual

Implements planner_cspace::planner_3d::CostmapBBF.

Definition at line 84 of file costmap_bbf.h.

◆ forEach()

void planner_cspace::planner_3d::CostmapBBFImpl::forEach ( const std::function< void(const Vec &, bbf::BinaryBayesFilter &)>  cb)
virtual

Implements planner_cspace::planner_3d::CostmapBBF.

Definition at line 102 of file costmap_bbf.cpp.

◆ getCost()

char planner_cspace::planner_3d::CostmapBBFImpl::getCost ( const Vec p) const
inlinevirtual

Implements planner_cspace::planner_3d::CostmapBBF.

Definition at line 91 of file costmap_bbf.h.

◆ remember()

void planner_cspace::planner_3d::CostmapBBFImpl::remember ( const BlockMemGridmapBase< char, 3, 2 > *const  costmap,
const Vec center,
const float  remember_hit_odds,
const float  remember_miss_odds,
const int  range_min,
const int  range_max 
)
virtual

Implements planner_cspace::planner_3d::CostmapBBF.

Definition at line 53 of file costmap_bbf.cpp.

◆ reset()

void planner_cspace::planner_3d::CostmapBBFImpl::reset ( const Vec size)
inlinevirtual

Implements planner_cspace::planner_3d::CostmapBBF.

Definition at line 77 of file costmap_bbf.h.

◆ updateCostmap()

void planner_cspace::planner_3d::CostmapBBFImpl::updateCostmap ( )
virtual

Implements planner_cspace::planner_3d::CostmapBBF.

Definition at line 41 of file costmap_bbf.cpp.

Member Data Documentation

◆ cm_hist_

BlockMemGridmap<char, 2, 2, 0x80> planner_cspace::planner_3d::CostmapBBFImpl::cm_hist_
private

Definition at line 67 of file costmap_bbf.h.

◆ cm_hist_bbf_

BlockMemGridmap<bbf::BinaryBayesFilter, 2, 2, 0x20> planner_cspace::planner_3d::CostmapBBFImpl::cm_hist_bbf_
private

Definition at line 66 of file costmap_bbf.h.

◆ size_

Vec planner_cspace::planner_3d::CostmapBBFImpl::size_
private

Definition at line 68 of file costmap_bbf.h.

◆ updated_max_

VecInternal planner_cspace::planner_3d::CostmapBBFImpl::updated_max_
private

Definition at line 70 of file costmap_bbf.h.

◆ updated_min_

VecInternal planner_cspace::planner_3d::CostmapBBFImpl::updated_min_
private

Definition at line 69 of file costmap_bbf.h.


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


planner_cspace
Author(s): Atsushi Watanabe
autogenerated on Fri May 16 2025 02:15:23