9 #ifndef OCTOMAP_OCTREE_STAMPED_H 10 #define OCTOMAP_OCTREE_STAMPED_H 113 unsigned int getLastUpdateTime();
115 void degradeOutdatedNodes(
unsigned int time_thres);
117 virtual void updateNodeLogOdds(
OcTreeNodeStamped* node,
const float& update)
const;
Base implementation for Occupancy Octrees (e.g.
Static member object which ensures that this OcTree's prototype ends up in the classIDMapping only on...
OctoMap: A probabilistic, flexible, and compact 3D mapping library for robotic systems.
std::string getTreeType() const
returns actual class name as string for identification
OcTreeNodeStamped(const OcTreeNodeStamped &rhs)
OcTreeDataNode< float > ** children
pointer to array of children, may be NULL
void updateOccupancyChildren()
bool operator==(const OcTreeNodeStamped &rhs) const
float getMaxChildLogOdds() const
StaticMemberInitializer()
void setTimestamp(unsigned int timestamp)
OcTreeNodeStamped * getChild(unsigned int i)
OcTreeNode * getChild(unsigned int i)
T value
stored data (payload)
static void registerTreeType(AbstractOcTree *tree)
bool createChild(unsigned int i)
unsigned int getTimestamp() const
OcTreeStamped * create() const
virtual constructor: creates a new object of same type (Covariant return type requires an up-to-date ...
Nodes to be used in OcTree.
const OcTreeNodeStamped * getChild(unsigned int i) const
OcTreeStamped(double resolution)
Default constructor, sets resolution of leafs.
static StaticMemberInitializer ocTreeStampedMemberInit
to ensure static initialization (only once)
void setLogOdds(float l)
sets log odds occupancy of node