Go to the documentation of this file.
40 #include <boost/thread.hpp>
42 #include <unordered_map>
46 class LazyFreeSpaceUpdater
57 typedef std::unordered_map<octomap::OcTreeKey, unsigned int, octomap::OcTreeKey::KeyHash>
OcTreeKeyCountMap;
58 #elif __cplusplus >= 201103L
59 typedef std::unordered_map<octomap::OcTreeKey, unsigned int, octomap::OcTreeKey::KeyHash>
OcTreeKeyCountMap;
61 typedef std::tr1::unordered_map<octomap::OcTreeKey, unsigned int, octomap::OcTreeKey::KeyHash>
OcTreeKeyCountMap;
std::tr1::unordered_map< octomap::OcTreeKey, unsigned int, octomap::OcTreeKey::KeyHash > OcTreeKeyCountMap
boost::thread update_thread_
void pushLazyUpdate(octomap::KeySet *occupied_cells, octomap::KeySet *model_cells, const octomap::point3d &sensor_origin)
boost::condition_variable update_condition_
boost::mutex cell_process_lock_
octomap::KeySet * process_model_cells_set_
octomap::point3d process_sensor_origin_
boost::mutex update_cell_sets_lock_
unordered_ns::unordered_set< OcTreeKey, OcTreeKey::KeyHash > KeySet
void pushBatchToProcess(OcTreeKeyCountMap *occupied_cells, octomap::KeySet *model_cells, const octomap::point3d &sensor_origin)
std::size_t max_batch_size_
boost::condition_variable process_condition_
collision_detection::OccMapTreePtr tree_
std::deque< octomap::KeySet * > model_cells_sets_
boost::thread process_thread_
std::deque< octomap::KeySet * > occupied_cells_sets_
std::deque< octomap::point3d > sensor_origins_
LazyFreeSpaceUpdater(const collision_detection::OccMapTreePtr &tree, unsigned int max_batch_size=10)
OcTreeKeyCountMap * process_occupied_cells_set_
std::shared_ptr< OccMapTree > OccMapTreePtr
perception
Author(s): Ioan Sucan
, Jon Binney , Suat Gedikli
autogenerated on Sat Mar 15 2025 02:26:49