8#ifndef SE_DATA_FIELD_HPP
9#define SE_DATA_FIELD_HPP
28 bool observed =
false;
34 static constexpr bool normals_along_gradient =
false;
35 static constexpr field_t surface_boundary = 0;
36 static constexpr field_t min_occupancy = -100;
37 static constexpr field_t max_occupancy = 100;
48 float k_sigma = 0.052f;
49 float sigma_min_factor = 1.5f;
50 float sigma_max_factor = 6.0f;
53 float tau_min_factor = 6.0f;
54 float tau_max_factor = 16.0f;
59 weight_t max_weight = std::floor(std::fabs(min_occupancy / (0.97f * log_odd_min)));
61 int fs_integr_scale = 1;
93 static constexpr bool normals_along_gradient =
true;
94 static constexpr field_t surface_boundary = 0;
110#include "impl/data_field_impl.hpp"
Helper wrapper to allocate and de-allocate octants in the octree.
Definition bounded_vector.hpp:14
float field_t
The type of the stored field (e.g. TSDF, ESDF or occupancy)
Definition type_util.hpp:49
UncertaintyModel
Definition data_field.hpp:16
Field
Definition setup_util.hpp:18
std::ostream & operator<<(std::ostream &os, const ColourData< Colour::Off >::Config &c)
Definition config.hpp:105
Definition data_field.hpp:20
void readYaml(const std::string &yaml_file)
Reads the struct members from the "data" node of a YAML file.
bool update(const field_t occupancy, const weight_t max_weight)
Perform a weighted average log-odds occupancy update and set the data to observed,...
bool valid() const
Return whether the field data has been updated at least once.
void readYaml(const std::string &yaml_file)
Reads the struct members from the "data" node of a YAML file.
bool valid() const
Return whether the field data has been updated at least once.
bool update(const field_t sdf, const field_t truncation_boundary, const weight_t max_weight)
Perform a weighted average TSDF update by truncating the SDF value sdf within truncation_boundary,...
Definition data_field.hpp:19