Struct HashedWaveletOctreeConfig

Inheritance Relationships

Base Type

Struct Documentation

struct HashedWaveletOctreeConfig : public wavemap::ConfigBase<HashedWaveletOctreeConfig, 5>

Config struct for the hashed wavelet octree volumetric data structure.

Public Functions

HashedWaveletOctreeConfig() = default
inline HashedWaveletOctreeConfig(FloatingPoint min_cell_width, FloatingPoint min_log_odds, FloatingPoint max_log_odds, IndexElement tree_height, FloatingPoint only_prune_blocks_if_unused_for)
inline operator VolumetricDataStructureConfig() const
virtual bool isValid(bool verbose) const override

Public Members

Meters<FloatingPoint> min_cell_width = 0.1f

Maximum resolution of the map, set as the width of the smallest cell that it can represent.

FloatingPoint min_log_odds = -2.f

Lower threshold for the occupancy values stored in the map, in log-odds.

FloatingPoint max_log_odds = 4.f

Upper threshold for the occupancy values stored in the map, in log-odds.

IndexElement tree_height = 6

Height of the octree in each hashed block.

Seconds<FloatingPoint> only_prune_blocks_if_unused_for = 5.f

Only prune blocks if they have not been updated for at least this amount of time.

Useful to avoid pruning blocks that are still being updated, whose nodes would most likely directly be reallocated if pruned.

Public Static Attributes

static MemberMap memberMap