Public Member Functions | Private Types | Private Member Functions | Private Attributes
occupancy_map_monitor::LazyFreeSpaceUpdater Class Reference

#include <lazy_free_space_updater.h>

List of all members.

Public Member Functions

 LazyFreeSpaceUpdater (const OccMapTreePtr &tree, unsigned int max_batch_size=10)
void pushLazyUpdate (octomap::KeySet *occupied_cells, octomap::KeySet *model_cells, const octomap::point3d &sensor_origin)
 ~LazyFreeSpaceUpdater ()

Private Types

typedef
std::tr1::unordered_map
< octomap::OcTreeKey, unsigned
int,
octomap::OcTreeKey::KeyHash
OcTreeKeyCountMap

Private Member Functions

void lazyUpdateThread ()
void processThread ()
void pushBatchToProcess (OcTreeKeyCountMap *occupied_cells, octomap::KeySet *model_cells, const octomap::point3d &sensor_origin)

Private Attributes

boost::mutex cell_process_lock_
std::size_t max_batch_size_
double max_sensor_delta_
std::deque< octomap::KeySet * > model_cells_sets_
std::deque< octomap::KeySet * > occupied_cells_sets_
boost::condition_variable process_condition_
octomap::KeySetprocess_model_cells_set_
OcTreeKeyCountMapprocess_occupied_cells_set_
octomap::point3d process_sensor_origin_
boost::thread process_thread_
bool running_
std::deque< octomap::point3dsensor_origins_
OccMapTreePtr tree_
boost::mutex update_cell_sets_lock_
boost::condition_variable update_condition_
boost::thread update_thread_

Detailed Description

Definition at line 46 of file lazy_free_space_updater.h.


Member Typedef Documentation

Definition at line 59 of file lazy_free_space_updater.h.


Constructor & Destructor Documentation

occupancy_map_monitor::LazyFreeSpaceUpdater::LazyFreeSpaceUpdater ( const OccMapTreePtr tree,
unsigned int  max_batch_size = 10 
)

Definition at line 42 of file lazy_free_space_updater.cpp.

Definition at line 55 of file lazy_free_space_updater.cpp.


Member Function Documentation

Definition at line 204 of file lazy_free_space_updater.cpp.

Definition at line 104 of file lazy_free_space_updater.cpp.

void occupancy_map_monitor::LazyFreeSpaceUpdater::pushBatchToProcess ( OcTreeKeyCountMap occupied_cells,
octomap::KeySet model_cells,
const octomap::point3d sensor_origin 
) [private]

Definition at line 82 of file lazy_free_space_updater.cpp.

void occupancy_map_monitor::LazyFreeSpaceUpdater::pushLazyUpdate ( octomap::KeySet occupied_cells,
octomap::KeySet model_cells,
const octomap::point3d sensor_origin 
)

Definition at line 70 of file lazy_free_space_updater.cpp.


Member Data Documentation

Definition at line 83 of file lazy_free_space_updater.h.

Definition at line 70 of file lazy_free_space_updater.h.

Definition at line 71 of file lazy_free_space_updater.h.

Definition at line 74 of file lazy_free_space_updater.h.

Definition at line 73 of file lazy_free_space_updater.h.

Definition at line 82 of file lazy_free_space_updater.h.

Definition at line 80 of file lazy_free_space_updater.h.

Definition at line 79 of file lazy_free_space_updater.h.

Definition at line 81 of file lazy_free_space_updater.h.

Definition at line 86 of file lazy_free_space_updater.h.

Definition at line 69 of file lazy_free_space_updater.h.

Definition at line 75 of file lazy_free_space_updater.h.

Definition at line 68 of file lazy_free_space_updater.h.

Definition at line 77 of file lazy_free_space_updater.h.

Definition at line 76 of file lazy_free_space_updater.h.

Definition at line 85 of file lazy_free_space_updater.h.


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


perception
Author(s): Ioan Sucan , Jon Binney , Suat Gedikli
autogenerated on Wed Jun 19 2019 19:24:12