Statistics.h
Go to the documentation of this file.
1 /*
2 Copyright (c) 2010-2016, Mathieu Labbe - IntRoLab - Universite de Sherbrooke
3 All rights reserved.
4 
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions are met:
7  * Redistributions of source code must retain the above copyright
8  notice, this list of conditions and the following disclaimer.
9  * Redistributions in binary form must reproduce the above copyright
10  notice, this list of conditions and the following disclaimer in the
11  documentation and/or other materials provided with the distribution.
12  * Neither the name of the Universite de Sherbrooke nor the
13  names of its contributors may be used to endorse or promote products
14  derived from this software without specific prior written permission.
15 
16 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
20 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27 
28 #ifndef STATISTICS_H_
29 #define STATISTICS_H_
30 
31 #include "rtabmap/core/RtabmapExp.h" // DLL export/import defines
32 
33 #include <opencv2/core/core.hpp>
34 #include <opencv2/features2d/features2d.hpp>
35 #include <opencv2/imgproc/imgproc.hpp>
36 #include <list>
37 #include <vector>
38 #include <rtabmap/core/Signature.h>
39 #include <rtabmap/core/Link.h>
40 
41 namespace rtabmap {
42 
43 #define RTABMAP_STATS(PREFIX, NAME, UNIT) \
44  public: \
45  static std::string k##PREFIX##NAME() {return #PREFIX "/" #NAME "/" #UNIT;} \
46  private: \
47  class Dummy##PREFIX##NAME { \
48  public: \
49  Dummy##PREFIX##NAME() {if(!_defaultDataInitialized)_defaultData.insert(std::pair<std::string, float>(#PREFIX "/" #NAME "/" #UNIT, 0.0f));} \
50  }; \
51  Dummy##PREFIX##NAME dummy##PREFIX##NAME
52 
54 {
55  RTABMAP_STATS(Loop, Id,); // Combined loop or proximity detection
56  RTABMAP_STATS(Loop, RejectedHypothesis,);
57  RTABMAP_STATS(Loop, Accepted_hypothesis_id,);
58  RTABMAP_STATS(Loop, Suppressed_hypothesis_id,);
59  RTABMAP_STATS(Loop, Highest_hypothesis_id,);
60  RTABMAP_STATS(Loop, Highest_hypothesis_value,);
61  RTABMAP_STATS(Loop, Vp_hypothesis,);
62  RTABMAP_STATS(Loop, Reactivate_id,);
63  RTABMAP_STATS(Loop, Hypothesis_ratio,);
64  RTABMAP_STATS(Loop, Hypothesis_reactivated,);
65  RTABMAP_STATS(Loop, Map_id,);
66  RTABMAP_STATS(Loop, Visual_words,);
67  RTABMAP_STATS(Loop, Visual_inliers,);
68  RTABMAP_STATS(Loop, Visual_inliers_ratio,);
69  RTABMAP_STATS(Loop, Visual_matches,);
70  RTABMAP_STATS(Loop, Distance_since_last_loc,);
71  RTABMAP_STATS(Loop, Last_id,);
72  RTABMAP_STATS(Loop, Optimization_max_error, m);
73  RTABMAP_STATS(Loop, Optimization_max_error_ratio, );
74  RTABMAP_STATS(Loop, Optimization_max_ang_error, deg);
75  RTABMAP_STATS(Loop, Optimization_max_ang_error_ratio, );
76  RTABMAP_STATS(Loop, Optimization_error, );
77  RTABMAP_STATS(Loop, Optimization_iterations, );
78  RTABMAP_STATS(Loop, Linear_variance,);
79  RTABMAP_STATS(Loop, Angular_variance,);
80  RTABMAP_STATS(Loop, Landmark_detected,);
81  RTABMAP_STATS(Loop, Landmark_detected_node_ref,);
82  RTABMAP_STATS(Loop, Visual_inliers_mean_dist,m);
83  RTABMAP_STATS(Loop, Visual_inliers_distribution,);
84  //Odom correction
85  RTABMAP_STATS(Loop, Odom_correction_norm, m);
86  RTABMAP_STATS(Loop, Odom_correction_angle, deg);
87  RTABMAP_STATS(Loop, Odom_correction_x, m);
88  RTABMAP_STATS(Loop, Odom_correction_y, m);
89  RTABMAP_STATS(Loop, Odom_correction_z, m);
90  RTABMAP_STATS(Loop, Odom_correction_roll, deg);
91  RTABMAP_STATS(Loop, Odom_correction_pitch, deg);
92  RTABMAP_STATS(Loop, Odom_correction_yaw, deg);
93  //Odom correction
94  RTABMAP_STATS(Loop, Odom_correction_acc_norm, m);
95  RTABMAP_STATS(Loop, Odom_correction_acc_angle, deg);
96  RTABMAP_STATS(Loop, Odom_correction_acc_x, m);
97  RTABMAP_STATS(Loop, Odom_correction_acc_y, m);
98  RTABMAP_STATS(Loop, Odom_correction_acc_z, m);
99  RTABMAP_STATS(Loop, Odom_correction_acc_roll, deg);
100  RTABMAP_STATS(Loop, Odom_correction_acc_pitch, deg);
101  RTABMAP_STATS(Loop, Odom_correction_acc_yaw, deg);
102  // Map to Odom
103  RTABMAP_STATS(Loop, MapToOdom_norm, m);
104  RTABMAP_STATS(Loop, MapToOdom_angle, deg);
105  RTABMAP_STATS(Loop, MapToOdom_x, m);
106  RTABMAP_STATS(Loop, MapToOdom_y, m);
107  RTABMAP_STATS(Loop, MapToOdom_z, m);
108  RTABMAP_STATS(Loop, MapToOdom_roll, deg);
109  RTABMAP_STATS(Loop, MapToOdom_pitch, deg);
110  RTABMAP_STATS(Loop, MapToOdom_yaw, deg);
111  // Map to Base
112  RTABMAP_STATS(Loop, MapToBase_x, m);
113  RTABMAP_STATS(Loop, MapToBase_y, m);
114  RTABMAP_STATS(Loop, MapToBase_z, m);
115  RTABMAP_STATS(Loop, MapToBase_roll, deg);
116  RTABMAP_STATS(Loop, MapToBase_pitch, deg);
117  RTABMAP_STATS(Loop, MapToBase_yaw, deg);
118 
119  RTABMAP_STATS(Proximity, Time_detections,);
120  RTABMAP_STATS(Proximity, Space_last_detection_id,);
121  RTABMAP_STATS(Proximity, Space_paths,);
122  RTABMAP_STATS(Proximity, Space_visual_paths_checked,);
123  RTABMAP_STATS(Proximity, Space_scan_paths_checked,);
124  RTABMAP_STATS(Proximity, Space_detections_added_visually,);
125  RTABMAP_STATS(Proximity, Space_detections_added_icp_multi,);
126  RTABMAP_STATS(Proximity, Space_detections_added_icp_global,);
127 
128  RTABMAP_STATS(NeighborLinkRefining, Accepted,);
129  RTABMAP_STATS(NeighborLinkRefining, Inliers,);
130  RTABMAP_STATS(NeighborLinkRefining, ICP_inliers_ratio,);
131  RTABMAP_STATS(NeighborLinkRefining, ICP_rotation, rad);
132  RTABMAP_STATS(NeighborLinkRefining, ICP_translation, m);
133  RTABMAP_STATS(NeighborLinkRefining, ICP_complexity,);
134  RTABMAP_STATS(NeighborLinkRefining, Variance,);
135  RTABMAP_STATS(NeighborLinkRefining, Pts,);
136 
137  RTABMAP_STATS(Memory, Working_memory_size,);
138  RTABMAP_STATS(Memory, Short_time_memory_size,);
139  RTABMAP_STATS(Memory, Database_memory_used, MB);
140  RTABMAP_STATS(Memory, Signatures_removed,);
141  RTABMAP_STATS(Memory, Immunized_globally,);
142  RTABMAP_STATS(Memory, Immunized_locally,);
143  RTABMAP_STATS(Memory, Immunized_locally_max,);
144  RTABMAP_STATS(Memory, Signatures_retrieved,);
145  RTABMAP_STATS(Memory, Images_buffered,);
146  RTABMAP_STATS(Memory, Rehearsal_sim,);
147  RTABMAP_STATS(Memory, Rehearsal_id,);
148  RTABMAP_STATS(Memory, Rehearsal_merged,);
149  RTABMAP_STATS(Memory, Local_graph_size,);
150  RTABMAP_STATS(Memory, Odom_cache_poses,);
151  RTABMAP_STATS(Memory, Odom_cache_links,);
152  RTABMAP_STATS(Memory, Small_movement,);
153  RTABMAP_STATS(Memory, Fast_movement,);
154  RTABMAP_STATS(Memory, New_landmark,);
155  RTABMAP_STATS(Memory, Odometry_variance_ang,);
156  RTABMAP_STATS(Memory, Odometry_variance_lin,);
157  RTABMAP_STATS(Memory, Distance_travelled, m);
158  RTABMAP_STATS(Memory, RAM_usage, MB);
159  RTABMAP_STATS(Memory, RAM_estimated, MB);
160  RTABMAP_STATS(Memory, Triangulated_points, );
161 
162  RTABMAP_STATS(Timing, Memory_update, ms);
163  RTABMAP_STATS(Timing, Neighbor_link_refining, ms);
164  RTABMAP_STATS(Timing, Proximity_by_time, ms);
165  RTABMAP_STATS(Timing, Proximity_by_space_visual, ms);
166  RTABMAP_STATS(Timing, Proximity_by_space, ms);
167  RTABMAP_STATS(Timing, Cleaning_neighbors, ms);
168  RTABMAP_STATS(Timing, Reactivation, ms);
169  RTABMAP_STATS(Timing, Add_loop_closure_link, ms);
170  RTABMAP_STATS(Timing, Map_optimization, ms);
171  RTABMAP_STATS(Timing, Likelihood_computation, ms);
172  RTABMAP_STATS(Timing, Posterior_computation, ms);
173  RTABMAP_STATS(Timing, Hypotheses_creation, ms);
174  RTABMAP_STATS(Timing, Hypotheses_validation, ms);
175  RTABMAP_STATS(Timing, Statistics_creation, ms);
176  RTABMAP_STATS(Timing, Memory_cleanup, ms);
177  RTABMAP_STATS(Timing, Total, ms);
178  RTABMAP_STATS(Timing, Forgetting, ms);
179  RTABMAP_STATS(Timing, Joining_trash, ms);
180  RTABMAP_STATS(Timing, Emptying_trash, ms);
181  RTABMAP_STATS(Timing, Finalizing_statistics, ms);
182  RTABMAP_STATS(Timing, RAM_estimation, ms);
183 
184  RTABMAP_STATS(TimingMem, Pre_update, ms);
185  RTABMAP_STATS(TimingMem, Signature_creation, ms);
186  RTABMAP_STATS(TimingMem, Rehearsal, ms);
187  RTABMAP_STATS(TimingMem, Keypoints_detection, ms);
188  RTABMAP_STATS(TimingMem, Subpixel, ms);
189  RTABMAP_STATS(TimingMem, Stereo_correspondences, ms);
190  RTABMAP_STATS(TimingMem, Descriptors_extraction, ms);
191  RTABMAP_STATS(TimingMem, Rectification, ms);
192  RTABMAP_STATS(TimingMem, Keypoints_3D, ms);
193  RTABMAP_STATS(TimingMem, Keypoints_3D_motion, ms);
194  RTABMAP_STATS(TimingMem, Joining_dictionary_update, ms);
195  RTABMAP_STATS(TimingMem, Add_new_words, ms);
196  RTABMAP_STATS(TimingMem, Compressing_data, ms);
197  RTABMAP_STATS(TimingMem, Post_decimation, ms);
198  RTABMAP_STATS(TimingMem, Scan_filtering, ms);
199  RTABMAP_STATS(TimingMem, Occupancy_grid, ms);
200  RTABMAP_STATS(TimingMem, Markers_detection, ms);
201 
202  RTABMAP_STATS(Keypoint, Dictionary_size, words);
203  RTABMAP_STATS(Keypoint, Current_frame, words);
204  RTABMAP_STATS(Keypoint, Indexed_words, words);
205  RTABMAP_STATS(Keypoint, Index_memory_usage, KB);
206 
207  RTABMAP_STATS(Gt, Translational_rmse, m);
208  RTABMAP_STATS(Gt, Translational_mean, m);
209  RTABMAP_STATS(Gt, Translational_median, m);
210  RTABMAP_STATS(Gt, Translational_std, m);
211  RTABMAP_STATS(Gt, Translational_min, m);
212  RTABMAP_STATS(Gt, Translational_max, m);
213  RTABMAP_STATS(Gt, Rotational_rmse, deg);
214  RTABMAP_STATS(Gt, Rotational_mean, deg);
215  RTABMAP_STATS(Gt, Rotational_median, deg);
216  RTABMAP_STATS(Gt, Rotational_std, deg);
217  RTABMAP_STATS(Gt, Rotational_min, deg);
218  RTABMAP_STATS(Gt, Rotational_max, deg);
219  RTABMAP_STATS(Gt, Localization_linear_error, m);
220  RTABMAP_STATS(Gt, Localization_angular_error, deg);
221 
222 public:
223  static const std::map<std::string, float> & defaultData();
224  static std::string serializeData(const std::map<std::string, float> & data);
225  static std::map<std::string, float> deserializeData(const std::string & data);
226 
227 public:
228  Statistics();
229  virtual ~Statistics();
230 
231  // name format = "Grp/Name/unit"
232  void addStatistic(const std::string & name, float value);
233 
234  // setters
235  void setExtended(bool extended) {_extended = extended;}
236  void setRefImageId(int id) {_refImageId = id;}
237  void setRefImageMapId(int id) {_refImageMapId = id;}
238  void setLoopClosureId(int id) {_loopClosureId = id;}
239  void setLoopClosureMapId(int id) {_loopClosureMapId = id;}
240  void setProximityDetectionId(int id) {_proximiyDetectionId = id;}
241  void setProximityDetectionMapId(int id) {_proximiyDetectionMapId = id;}
242  void setStamp(double stamp) {_stamp = stamp;}
243 
244  RTABMAP_DEPRECATED(void setLastSignatureData(const Signature & data), "Use addSignatureData() instead.");
245  void addSignatureData(const Signature & data) {_signaturesData.insert(std::make_pair(data.id(), data));}
246  void setSignaturesData(const std::map<int, Signature> & data) {_signaturesData = data;}
247 
248  void setPoses(const std::map<int, Transform> & poses) {_poses = poses;}
249  void setConstraints(const std::multimap<int, Link> & constraints) {_constraints = constraints;}
250  void setMapCorrection(const Transform & mapCorrection) {_mapCorrection = mapCorrection;}
251  void setLoopClosureTransform(const Transform & loopClosureTransform) {_loopClosureTransform = loopClosureTransform;}
252  void setLocalizationCovariance(const cv::Mat & covariance) {_localizationCovariance = covariance;}
253  void setLabels(const std::map<int, std::string> & labels) {_labels = labels;}
254  void setWeights(const std::map<int, int> & weights) {_weights = weights;}
255  void setPosterior(const std::map<int, float> & posterior) {_posterior = posterior;}
256  void setLikelihood(const std::map<int, float> & likelihood) {_likelihood = likelihood;}
257  void setRawLikelihood(const std::map<int, float> & rawLikelihood) {_rawLikelihood = rawLikelihood;}
258  void setLocalPath(const std::vector<int> & localPath) {_localPath=localPath;}
259  void setCurrentGoalId(int goal) {_currentGoalId=goal;}
260  void setReducedIds(const std::map<int, int> & reducedIds) {_reducedIds = reducedIds;}
261  void setWmState(const std::vector<int> & state) {_wmState = state;}
262  void setOdomCachePoses(const std::map<int, Transform> & poses) {_odomCachePoses = poses;}
263  void setOdomCacheConstraints(const std::multimap<int, Link> & constraints) {_odomCacheConstraints = constraints;}
264 
265  // getters
266  bool extended() const {return _extended;}
267  int refImageId() const {return _refImageId;}
268  int refImageMapId() const {return _refImageMapId;}
269  int loopClosureId() const {return _loopClosureId;}
270  int loopClosureMapId() const {return _loopClosureMapId;}
271  int proximityDetectionId() const {return _proximiyDetectionId;}
272  int proximityDetectionMapId() const {return _proximiyDetectionMapId;}
273  double stamp() const {return _stamp;}
274 
275  const Signature & getLastSignatureData() const {return _signaturesData.empty()?_dummyEmptyData:_signaturesData.rbegin()->second;}
276  const std::map<int, Signature> & getSignaturesData() const {return _signaturesData;}
277 
278  const std::map<int, Transform> & poses() const {return _poses;}
279  const std::multimap<int, Link> & constraints() const {return _constraints;}
280  const Transform & mapCorrection() const {return _mapCorrection;}
281  const Transform & loopClosureTransform() const {return _loopClosureTransform;}
282  const cv::Mat & localizationCovariance() const {return _localizationCovariance;}
283  const std::map<int, std::string> & labels() const {return _labels;}
284  const std::map<int, int> & weights() const {return _weights;}
285  const std::map<int, float> & posterior() const {return _posterior;}
286  const std::map<int, float> & likelihood() const {return _likelihood;}
287  const std::map<int, float> & rawLikelihood() const {return _rawLikelihood;}
288  const std::vector<int> & localPath() const {return _localPath;}
289  int currentGoalId() const {return _currentGoalId;}
290  const std::map<int, int> & reducedIds() const {return _reducedIds;}
291  const std::vector<int> & wmState() const {return _wmState;}
292  const std::map<int, Transform> & odomCachePoses() const {return _odomCachePoses;}
293  const std::multimap<int, Link> & odomCacheConstraints() const {return _odomCacheConstraints;}
294 
295  const std::map<std::string, float> & data() const {return _data;}
296 
297 private:
298  bool _extended; // 0 -> only loop closure and last signature ID fields are filled
299 
306  double _stamp;
307 
308  std::map<int, Signature> _signaturesData;
310 
311  std::map<int, Transform> _poses;
312  std::multimap<int, Link> _constraints;
316 
317  std::map<int, std::string> _labels;
318  std::map<int, int> _weights;
319  std::map<int, float> _posterior;
320  std::map<int, float> _likelihood;
321  std::map<int, float> _rawLikelihood;
322 
323  std::vector<int> _localPath;
325 
326  std::map<int, int> _reducedIds;
327 
328  std::vector<int> _wmState;
329 
330  std::map<int, Transform> _odomCachePoses;
331  std::multimap<int, Link> _odomCacheConstraints;
332 
333  // Format for statistics (Plottable statistics must go in that map) :
334  // {"Group/Name/Unit", value}
335  // Example : {"Timing/Total time/ms", 500.0f}
336  std::map<std::string, float> _data;
337  static std::map<std::string, float> _defaultData;
339  // end extended data
340 };
341 
342 }// end namespace rtabmap
343 
344 #endif /* STATISTICS_H_ */
const std::vector< int > & wmState() const
Definition: Statistics.h:291
cv::Mat _localizationCovariance
Definition: Statistics.h:315
const std::map< int, float > & posterior() const
Definition: Statistics.h:285
const std::map< int, int > & reducedIds() const
Definition: Statistics.h:290
int currentGoalId() const
Definition: Statistics.h:289
std::map< int, int > _weights
Definition: Statistics.h:318
std::multimap< int, Link > _constraints
Definition: Statistics.h:312
std::map< std::string, float > _data
Definition: Statistics.h:336
void setLoopClosureId(int id)
Definition: Statistics.h:238
void setLabels(const std::map< int, std::string > &labels)
Definition: Statistics.h:253
void setPosterior(const std::map< int, float > &posterior)
Definition: Statistics.h:255
void setRawLikelihood(const std::map< int, float > &rawLikelihood)
Definition: Statistics.h:257
void setLoopClosureMapId(int id)
Definition: Statistics.h:239
void setRefImageId(int id)
Definition: Statistics.h:236
void setReducedIds(const std::map< int, int > &reducedIds)
Definition: Statistics.h:260
data
void setProximityDetectionId(int id)
Definition: Statistics.h:240
std::map< int, float > _rawLikelihood
Definition: Statistics.h:321
std::map< int, std::string > _labels
Definition: Statistics.h:317
void setCurrentGoalId(int goal)
Definition: Statistics.h:259
void setConstraints(const std::multimap< int, Link > &constraints)
Definition: Statistics.h:249
const std::map< int, int > & weights() const
Definition: Statistics.h:284
void setOdomCacheConstraints(const std::multimap< int, Link > &constraints)
Definition: Statistics.h:263
void addSignatureData(const Signature &data)
Definition: Statistics.h:245
RTABMAP_DEPRECATED(typedef SensorData Image, "rtabmap::Image class is renamed to rtabmap::SensorData, use the last one instead.")
const Transform & loopClosureTransform() const
Definition: Statistics.h:281
int loopClosureMapId() const
Definition: Statistics.h:270
const std::map< int, Transform > & poses() const
Definition: Statistics.h:278
const std::map< int, float > & likelihood() const
Definition: Statistics.h:286
Transform _loopClosureTransform
Definition: Statistics.h:314
std::map< int, int > _reducedIds
Definition: Statistics.h:326
const std::map< std::string, float > & data() const
Definition: Statistics.h:295
int loopClosureId() const
Definition: Statistics.h:269
#define RTABMAP_EXP
Definition: RtabmapExp.h:38
int proximityDetectionMapId() const
Definition: Statistics.h:272
void setLocalPath(const std::vector< int > &localPath)
Definition: Statistics.h:258
static std::map< std::string, float > _defaultData
Definition: Statistics.h:337
void setLocalizationCovariance(const cv::Mat &covariance)
Definition: Statistics.h:252
void setPoses(const std::map< int, Transform > &poses)
Definition: Statistics.h:248
std::map< int, float > _likelihood
Definition: Statistics.h:320
void setExtended(bool extended)
Definition: Statistics.h:235
const std::map< int, float > & rawLikelihood() const
Definition: Statistics.h:287
static bool _defaultDataInitialized
Definition: Statistics.h:338
string name
#define KB
Definition: lz4.c:226
void setSignaturesData(const std::map< int, Signature > &data)
Definition: Statistics.h:246
std::vector< int > _localPath
Definition: Statistics.h:323
const Transform & mapCorrection() const
Definition: Statistics.h:280
bool extended() const
Definition: Statistics.h:266
void setRefImageMapId(int id)
Definition: Statistics.h:237
#define RTABMAP_STATS(PREFIX, NAME, UNIT)
Definition: Statistics.h:43
std::map< int, Signature > _signaturesData
Definition: Statistics.h:308
const std::multimap< int, Link > & odomCacheConstraints() const
Definition: Statistics.h:293
const std::map< int, Signature > & getSignaturesData() const
Definition: Statistics.h:276
RecoveryProgressState state
std::vector< int > _wmState
Definition: Statistics.h:328
void setMapCorrection(const Transform &mapCorrection)
Definition: Statistics.h:250
void setLikelihood(const std::map< int, float > &likelihood)
Definition: Statistics.h:256
const std::multimap< int, Link > & constraints() const
Definition: Statistics.h:279
const std::vector< int > & localPath() const
Definition: Statistics.h:288
void setWmState(const std::vector< int > &state)
Definition: Statistics.h:261
std::multimap< int, Link > _odomCacheConstraints
Definition: Statistics.h:331
void setStamp(double stamp)
Definition: Statistics.h:242
void setWeights(const std::map< int, int > &weights)
Definition: Statistics.h:254
std::map< int, Transform > _poses
Definition: Statistics.h:311
int refImageId() const
Definition: Statistics.h:267
int id() const
Definition: Signature.h:70
const Signature & getLastSignatureData() const
Definition: Statistics.h:275
Signature _dummyEmptyData
Definition: Statistics.h:309
#define MB
Definition: lz4.c:227
void setLoopClosureTransform(const Transform &loopClosureTransform)
Definition: Statistics.h:251
int refImageMapId() const
Definition: Statistics.h:268
void setProximityDetectionMapId(int id)
Definition: Statistics.h:241
const cv::Mat & localizationCovariance() const
Definition: Statistics.h:282
const std::map< int, std::string > & labels() const
Definition: Statistics.h:283
int proximityDetectionId() const
Definition: Statistics.h:271
const std::map< int, Transform > & odomCachePoses() const
Definition: Statistics.h:292
std::map< int, float > _posterior
Definition: Statistics.h:319
double stamp() const
Definition: Statistics.h:273
Transform _mapCorrection
Definition: Statistics.h:313
void setOdomCachePoses(const std::map< int, Transform > &poses)
Definition: Statistics.h:262
std::map< int, Transform > _odomCachePoses
Definition: Statistics.h:330


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:38:57