#include <costmap_bbf.h>
Public Types | |
using | Vec = CyclicVecInt< 3, 2 > |
Public Member Functions | |
void | clear () |
CostmapBBF () | |
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 ¢er, 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_ |
Definition at line 42 of file costmap_bbf.h.
using planner_cspace::planner_3d::CostmapBBF::Vec = CyclicVecInt<3, 2> |
Definition at line 45 of file costmap_bbf.h.
|
private |
Definition at line 48 of file costmap_bbf.h.
|
inline |
Definition at line 54 of file costmap_bbf.h.
|
inline |
Definition at line 64 of file costmap_bbf.h.
void planner_cspace::planner_3d::CostmapBBF::forEach | ( | const std::function< void(const Vec &, bbf::BinaryBayesFilter &)> | cb | ) |
Definition at line 93 of file costmap_bbf.cpp.
|
inline |
Definition at line 69 of file costmap_bbf.h.
void planner_cspace::planner_3d::CostmapBBF::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 | ||
) |
Definition at line 51 of file costmap_bbf.cpp.
|
inline |
Definition at line 58 of file costmap_bbf.h.
void planner_cspace::planner_3d::CostmapBBF::updateCostmap | ( | ) |
Definition at line 40 of file costmap_bbf.cpp.
|
private |
Definition at line 50 of file costmap_bbf.h.
|
private |
Definition at line 49 of file costmap_bbf.h.
|
private |
Definition at line 51 of file costmap_bbf.h.