34 #ifndef OCTOMAP_OCTREE_STAMPED_H 35 #define OCTOMAP_OCTREE_STAMPED_H 100 unsigned int getLastUpdateTime();
102 void degradeOutdatedNodes(
unsigned int time_thres);
104 virtual void updateNodeLogOdds(
OcTreeNodeStamped* node,
const float& update)
const;
static void registerTreeType(AbstractOcTree *tree)
T value
stored data (payload)
OcTreeNode * getChild(unsigned int i)
float getMaxChildLogOdds() const
static StaticMemberInitializer ocTreeStampedMemberInit
to ensure static initialization (only once)
bool createChild(unsigned int i)
unsigned int getTimestamp() const
StaticMemberInitializer()
void setLogOdds(float l)
sets log odds occupancy of node
OcTreeNodeStamped * getChild(unsigned int i)
OcTreeDataNode< float > ** children
pointer to array of children, may be NULL
void setTimestamp(unsigned int timestamp)
std::string getTreeType() const
returns actual class name as string for identification
bool operator==(const OcTreeNodeStamped &rhs) const
OcTreeNodeStamped(const OcTreeNodeStamped &rhs)
OcTreeStamped * create() const
const OcTreeNodeStamped * getChild(unsigned int i) const
void updateOccupancyChildren()