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_ */
double minDistance
Ignore all Points closer than to the origin of a scan.
Definition: SLAMOptions.hpp:70
double slamEpsilon
The epsilon difference of SLAM corrections for the stop criterion of SLAM.
double reduction
The Voxel size for Octree based reduction.
Definition: SLAMOptions.hpp:67
double rotate_angle
rotate this angle around y axis
bool trustPose
Use the unmodified Pose of new Scans. If false, apply the relative refinement of previous Scans...
Definition: SLAMOptions.hpp:50
bool createFrames
Keep track of all previous Transformations of Scans for Animation purposes like 'show' from slam6D...
Definition: SLAMOptions.hpp:56
double epsilon
The epsilon difference between ICP-errors for the stop criterion of ICP.
Definition: SLAMOptions.hpp:88
A struct to configure SLAMAlign.
Definition: SLAMOptions.hpp:45
bool verbose
Show more detailed output. Useful for fine-tuning Parameters or debugging.
Definition: SLAMOptions.hpp:59
int slamIterations
Number of ICP iterations during Loopclosing and number of GraphSLAM iterations.
bool useHDF
Indicates if a HDF file containing the scans should be used.
Definition: SLAMOptions.hpp:62
double diffAngle
max difference of angle (sum of 3 angles) new and old
double slamMaxDistance
The maximum distance between two points during SLAM.
bool useScanOrder
use scan order as icp order (if false: start with lowest distance)
int maxLeafSize
The maximum number of Points in a Leaf of a KDTree.
Definition: SLAMOptions.hpp:85
double diffPosition
max difference of position (euclidean distance) new and old
double icpMaxDistance
The maximum distance between two points during ICP.
Definition: SLAMOptions.hpp:82
bool doGraphSLAM
Use complex Loopclosing with GraphSLAM.
Definition: SLAMOptions.hpp:96
double maxDistance
Ignore all Points farther away than from the origin of a scan.
Definition: SLAMOptions.hpp:73
bool metascan
Match scans to the combined Pointcloud of all previous Scans instead of just the last Scan...
Definition: SLAMOptions.hpp:53
bool doLoopClosing
Use simple Loopclosing.
Definition: SLAMOptions.hpp:93


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 Mon Feb 28 2022 22:46:09