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 47 of file lazy_free_space_updater.h.


Member Typedef Documentation

Definition at line 61 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 43 of file lazy_free_space_updater.cpp.

Definition at line 55 of file lazy_free_space_updater.cpp.


Member Function Documentation

Definition at line 193 of file lazy_free_space_updater.cpp.

Definition at line 100 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 80 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 84 of file lazy_free_space_updater.h.

Definition at line 71 of file lazy_free_space_updater.h.

Definition at line 72 of file lazy_free_space_updater.h.

Definition at line 75 of file lazy_free_space_updater.h.

Definition at line 74 of file lazy_free_space_updater.h.

Definition at line 83 of file lazy_free_space_updater.h.

Definition at line 81 of file lazy_free_space_updater.h.

Definition at line 80 of file lazy_free_space_updater.h.

Definition at line 82 of file lazy_free_space_updater.h.

Definition at line 87 of file lazy_free_space_updater.h.

Definition at line 70 of file lazy_free_space_updater.h.

Definition at line 76 of file lazy_free_space_updater.h.

Definition at line 69 of file lazy_free_space_updater.h.

Definition at line 78 of file lazy_free_space_updater.h.

Definition at line 77 of file lazy_free_space_updater.h.

Definition at line 86 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 Aug 26 2015 12:43:21