Class OcTreeStamped

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class OcTreeStamped : public octomap::OccupancyOcTreeBase<OcTreeNodeStamped>

Public Functions

OcTreeStamped(double resolution)

Default constructor, sets resolution of leafs.

inline OcTreeStamped *create() const

virtual constructor: creates a new object of same type (Covariant return type requires an up-to-date compiler)

inline std::string getTreeType() const
unsigned int getLastUpdateTime()
Returns:

timestamp of last update

void degradeOutdatedNodes(unsigned int time_thres)
virtual void updateNodeLogOdds(OcTreeNodeStamped *node, const float &update) const

update logodds value of node by adding to the current value.

void integrateMissNoTime(OcTreeNodeStamped *node) const

Protected Static Attributes

static StaticMemberInitializer ocTreeStampedMemberInit

to ensure static initialization (only once)

class StaticMemberInitializer

Static member object which ensures that this OcTree’s prototype ends up in the classIDMapping only once. You need this as a static member in any derived octree class in order to read .ot files through the AbstractOcTree factory. You should also call ensureLinking() once from the constructor.

Public Functions

inline StaticMemberInitializer()
inline void ensureLinking()

Dummy function to ensure that MSVC does not drop the StaticMemberInitializer, causing this tree failing to register. Needs to be called from the constructor of this octree.