SLAMOptions.hpp
Go to the documentation of this file.
1 
36 #ifndef SLAMOPTIONS_HPP_
37 #define SLAMOPTIONS_HPP_
38 
39 namespace lvr2
40 {
41 
46 {
47  // ==================== General Options ======================================================
48 
50  bool trustPose = false;
51 
53  bool metascan = false;
54 
56  bool createFrames = false;
57 
59  bool verbose = false;
60 
62  bool useHDF = false;
63 
64  // ==================== Reduction Options ====================================================
65 
67  double reduction = -1;
68 
70  double minDistance = -1;
71 
73  double maxDistance = -1;
74 
75  // ==================== ICP Options ==========================================================
76 
79  int icpIterations = 100;
80 
82  double icpMaxDistance = 25;
83 
85  int maxLeafSize = 20;
86 
88  double epsilon = 0.00001;
89 
90  // ==================== SLAM Options =========================================================
91 
93  bool doLoopClosing = false;
94 
96  bool doGraphSLAM = false;
97 
100  double closeLoopDistance = 500;
101 
104  int closeLoopPairs = -1;
105 
109  int loopSize = 20;
110 
112  int slamIterations = 50;
113 
115  double slamMaxDistance = 25;
116 
118  double slamEpsilon = 0.5;
119 
121  double diffPosition = 50;
122 
124  double diffAngle = 50;
125 
127  bool useScanOrder = true;
128 
130  double rotate_angle = 0;
131 };
132 
133 } /* namespace lvr2 */
134 
135 #endif /* SLAMOPTIONS_HPP_ */
lvr2::SLAMOptions::reduction
double reduction
The Voxel size for Octree based reduction.
Definition: SLAMOptions.hpp:67
lvr2::SLAMOptions::createFrames
bool createFrames
Keep track of all previous Transformations of Scans for Animation purposes like 'show' from slam6D.
Definition: SLAMOptions.hpp:56
lvr2::SLAMOptions::trustPose
bool trustPose
Use the unmodified Pose of new Scans. If false, apply the relative refinement of previous Scans.
Definition: SLAMOptions.hpp:50
lvr2::SLAMOptions::icpMaxDistance
double icpMaxDistance
The maximum distance between two points during ICP.
Definition: SLAMOptions.hpp:82
lvr2::SLAMOptions::doLoopClosing
bool doLoopClosing
Use simple Loopclosing.
Definition: SLAMOptions.hpp:93
lvr2::SLAMOptions::closeLoopPairs
int closeLoopPairs
Definition: SLAMOptions.hpp:104
lvr2::SLAMOptions::icpIterations
int icpIterations
Definition: SLAMOptions.hpp:79
lvr2::SLAMOptions::closeLoopDistance
double closeLoopDistance
Definition: SLAMOptions.hpp:100
lvr2::SLAMOptions::epsilon
double epsilon
The epsilon difference between ICP-errors for the stop criterion of ICP.
Definition: SLAMOptions.hpp:88
lvr2::SLAMOptions::loopSize
int loopSize
Definition: SLAMOptions.hpp:109
lvr2::SLAMOptions::useScanOrder
bool useScanOrder
use scan order as icp order (if false: start with lowest distance)
Definition: SLAMOptions.hpp:127
lvr2::SLAMOptions::verbose
bool verbose
Show more detailed output. Useful for fine-tuning Parameters or debugging.
Definition: SLAMOptions.hpp:59
lvr2::SLAMOptions::diffAngle
double diffAngle
max difference of angle (sum of 3 angles) new and old
Definition: SLAMOptions.hpp:124
lvr2::SLAMOptions::slamMaxDistance
double slamMaxDistance
The maximum distance between two points during SLAM.
Definition: SLAMOptions.hpp:115
lvr2::SLAMOptions::metascan
bool metascan
Match scans to the combined Pointcloud of all previous Scans instead of just the last Scan.
Definition: SLAMOptions.hpp:53
lvr2::SLAMOptions::minDistance
double minDistance
Ignore all Points closer than to the origin of a scan.
Definition: SLAMOptions.hpp:70
lvr2::SLAMOptions::doGraphSLAM
bool doGraphSLAM
Use complex Loopclosing with GraphSLAM.
Definition: SLAMOptions.hpp:96
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::SLAMOptions::maxDistance
double maxDistance
Ignore all Points farther away than from the origin of a scan.
Definition: SLAMOptions.hpp:73
lvr2::SLAMOptions::slamIterations
int slamIterations
Number of ICP iterations during Loopclosing and number of GraphSLAM iterations.
Definition: SLAMOptions.hpp:112
lvr2::SLAMOptions::slamEpsilon
double slamEpsilon
The epsilon difference of SLAM corrections for the stop criterion of SLAM.
Definition: SLAMOptions.hpp:118
lvr2::SLAMOptions
A struct to configure SLAMAlign.
Definition: SLAMOptions.hpp:45
lvr2::SLAMOptions::rotate_angle
double rotate_angle
rotate this angle around y axis
Definition: SLAMOptions.hpp:130
lvr2::SLAMOptions::maxLeafSize
int maxLeafSize
The maximum number of Points in a Leaf of a KDTree.
Definition: SLAMOptions.hpp:85
lvr2::SLAMOptions::diffPosition
double diffPosition
max difference of position (euclidean distance) new and old
Definition: SLAMOptions.hpp:121
lvr2::SLAMOptions::useHDF
bool useHDF
Indicates if a HDF file containing the scans should be used.
Definition: SLAMOptions.hpp:62


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