Go to the documentation of this file.
35 #ifndef LVR2_SLAM_OPTIONS_YAML_EXTENSIONS
36 #define LVR2_SLAM_OPTIONS_YAML_EXTENSIONS
38 #include <yaml-cpp/yaml.h>
53 node[
"trustPose"] =
options.trustPose;
54 node[
"metascan"] =
options.metascan;
55 node[
"createFrames"] =
options.createFrames;
56 node[
"verbose"] =
options.verbose;
57 node[
"useHDF"] =
options.useHDF;
61 node[
"reduction"] =
options.reduction;
62 node[
"minDistance"] =
options.minDistance;
63 node[
"maxDistance"] =
options.maxDistance;
67 node[
"icpIterations"] =
options.icpIterations;
68 node[
"icpMaxDistance"] =
options.icpMaxDistance;
69 node[
"maxLeafSize"] =
options.maxLeafSize;
70 node[
"epsilon"] =
options.epsilon;
74 node[
"doLoopClosing"] =
options.doLoopClosing;
75 node[
"doGraphSLAM"] =
options.doGraphSLAM;
76 node[
"closeLoopDistance"] =
options.closeLoopDistance;
77 node[
"closeLoopPairs"] =
options.closeLoopPairs;
78 node[
"loopSize"] =
options.loopSize;
79 node[
"slamIterations"] =
options.slamIterations;
80 node[
"slamMaxDistance"] =
options.slamMaxDistance;
81 node[
"slamEpsilon"] =
options.slamEpsilon;
82 node[
"diffPosition"] =
options.diffPosition;
83 node[
"diffAngle"] =
options.diffAngle;
84 node[
"useScanOrder"] =
options.useScanOrder;
85 node[
"rotate_angle"] =
options.rotate_angle;
99 if (node[
"trustPose"])
101 options.trustPose = node[
"trustPose"].as<
bool>();
104 if (node[
"metascan"])
106 options.metascan = node[
"metascan"].as<
bool>();
109 if (node[
"createFrames"])
111 options.createFrames = node[
"createFrames"].as<
bool>();
116 options.verbose = node[
"verbose"].as<
bool>();
121 options.useHDF = node[
"useHDF"].as<
bool>();
126 if (node[
"reduction"])
128 options.reduction = node[
"reduction"].as<
double>();
131 if (node[
"minDistance"])
133 options.minDistance = node[
"minDistance"].as<
double>();
136 if (node[
"maxDistance"])
138 options.maxDistance = node[
"maxDistance"].as<
double>();
143 if (node[
"icpIterations"])
145 options.icpIterations = node[
"icpIterations"].as<
int>();
148 if (node[
"icpMaxDistance"])
150 options.icpMaxDistance = node[
"icpMaxDistance"].as<
double>();
153 if (node[
"maxLeafSize"])
155 options.maxLeafSize = node[
"maxLeafSize"].as<
int>();
160 options.epsilon = node[
"epsilon"].as<
double>();
165 if (node[
"doLoopClosing"])
167 options.doLoopClosing = node[
"doLoopClosing"].as<
bool>();
170 if (node[
"doGraphSLAM"])
172 options.doGraphSLAM = node[
"doGraphSLAM"].as<
bool>();
175 if (node[
"closeLoopDistance"])
177 options.closeLoopDistance = node[
"closeLoopDistance"].as<
double>();
180 if (node[
"closeLoopPairs"])
182 options.closeLoopPairs = node[
"closeLoopPairs"].as<
int>();
185 if (node[
"loopSize"])
187 options.loopSize = node[
"loopSize"].as<
int>();
190 if (node[
"slamIterations"])
192 options.slamIterations = node[
"slamIterations"].as<
int>();
195 if (node[
"slamMaxDistance"])
197 options.slamMaxDistance = node[
"slamMaxDistance"].as<
double>();
200 if (node[
"slamEpsilon"])
202 options.slamEpsilon = node[
"slamEpsilon"].as<
double>();
205 if (node[
"diffPosition"])
207 options.diffPosition = node[
"diffPosition"].as<
double>();
210 if (node[
"diffAngle"])
212 options.diffAngle = node[
"diffAngle"].as<
double>();
215 if (node[
"useScanOrder"])
217 options.useScanOrder = node[
"useScanOrder"].as<
bool>();
220 if (node[
"rotate_angle"])
222 options.rotate_angle = node[
"rotate_angle"].as<
double>();
const kaboom::Options * options
void convert(COORD_SYSTEM from, COORD_SYSTEM to, float *point)
A struct to configure SLAMAlign.
static Node encode(const lvr2::SLAMOptions &options)
static bool decode(const Node &node, lvr2::SLAMOptions &options)
lvr2
Author(s): Thomas Wiemann
, Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:25