OdometryInfo.h
Go to the documentation of this file.
1 /*
2 Copyright (c) 2010-2025, 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 ODOMETRYINFO_H_
29 #define ODOMETRYINFO_H_
30 
31 #include <rtabmap/core/rtabmap_core_export.h>
32 #include <map>
33 #include "rtabmap/core/Transform.h"
36 #include "rtabmap/core/LaserScan.h"
37 #include <opencv2/features2d/features2d.hpp>
38 
39 namespace rtabmap {
40 
41 class RTABMAP_CORE_EXPORT OdometryInfo
42 {
43 public:
44  OdometryInfo();
45  OdometryInfo copyWithoutData() const;
46  std::map<std::string, float> statistics(const Transform & pose = Transform());
47 
48  bool lost;
50  int features;
57  std::map<int, Transform> localBundlePoses;
58  std::map<int, std::vector<CameraModel> > localBundleModels;
61  std::vector<int> localBundleOutliersPerCam;
66  double stamp;
67  double interval;
71  Transform guessVelocity; // deprecated, will be removed. Use guess and interval instead.
74  int memoryUsage; //MB
77 
78  int type;
79 
80  // F2M
81  std::multimap<int, cv::KeyPoint> words;
82  std::map<int, cv::Point3f> localMap;
84 
85  // F2F
86  std::vector<cv::Point2f> refCorners;
87  std::vector<cv::Point2f> newCorners;
88  std::vector<int> cornerInliers;
89 };
90 
91 }
92 
93 #endif /* ODOMETRYINFO_H_ */
rtabmap::OdometryInfo::refCorners
std::vector< cv::Point2f > refCorners
Definition: OdometryInfo.h:86
rtabmap::OdometryInfo::localMapSize
int localMapSize
Definition: OdometryInfo.h:51
rtabmap::OdometryInfo::timeParticleFiltering
float timeParticleFiltering
Definition: OdometryInfo.h:65
rtabmap::OdometryInfo::localMap
std::map< int, cv::Point3f > localMap
Definition: OdometryInfo.h:82
rtabmap::OdometryInfo::localBundleTime
float localBundleTime
Definition: OdometryInfo.h:56
rtabmap::OdometryInfo::keyFrameAdded
bool keyFrameAdded
Definition: OdometryInfo.h:62
rtabmap::OdometryInfo::timeEstimation
float timeEstimation
Definition: OdometryInfo.h:64
rtabmap::RegistrationInfo
Definition: RegistrationInfo.h:34
rtabmap::OdometryInfo::features
int features
Definition: OdometryInfo.h:50
rtabmap::OdometryInfo::lost
bool lost
Definition: OdometryInfo.h:48
rtabmap::OdometryInfo::transformFiltered
Transform transformFiltered
Definition: OdometryInfo.h:69
Transform.h
RegistrationInfo.h
rtabmap::OdometryInfo::localKeyFrames
int localKeyFrames
Definition: OdometryInfo.h:53
rtabmap::LaserScan
Definition: LaserScan.h:37
rtabmap::OdometryInfo::transform
Transform transform
Definition: OdometryInfo.h:68
rtabmap::OdometryInfo::localBundleModels
std::map< int, std::vector< CameraModel > > localBundleModels
Definition: OdometryInfo.h:58
rtabmap::OdometryInfo::type
int type
Definition: OdometryInfo.h:78
rtabmap::OdometryInfo::localBundleMaxKeyFramesForInlier
int localBundleMaxKeyFramesForInlier
Definition: OdometryInfo.h:60
rtabmap::OdometryInfo::localBundlePoses
std::map< int, Transform > localBundlePoses
Definition: OdometryInfo.h:57
rtabmap::OdometryInfo::cornerInliers
std::vector< int > cornerInliers
Definition: OdometryInfo.h:88
rtabmap::OdometryInfo::localBundleOutliersPerCam
std::vector< int > localBundleOutliersPerCam
Definition: OdometryInfo.h:61
rtabmap::OdometryInfo::localBundleConstraints
int localBundleConstraints
Definition: OdometryInfo.h:55
rtabmap::OdometryInfo::guessVelocity
Transform guessVelocity
Definition: OdometryInfo.h:71
rtabmap::OdometryInfo::localScanMapSize
int localScanMapSize
Definition: OdometryInfo.h:52
rtabmap::OdometryInfo::localScanMap
LaserScan localScanMap
Definition: OdometryInfo.h:83
rtabmap::OdometryInfo::words
std::multimap< int, cv::KeyPoint > words
Definition: OdometryInfo.h:81
rtabmap::OdometryInfo::stamp
double stamp
Definition: OdometryInfo.h:66
rtabmap::Transform
Definition: Transform.h:41
rtabmap::OdometryInfo::distanceTravelled
float distanceTravelled
Definition: OdometryInfo.h:73
LaserScan.h
rtabmap::OdometryInfo::gravityPitchError
double gravityPitchError
Definition: OdometryInfo.h:76
rtabmap::OdometryInfo::newCorners
std::vector< cv::Point2f > newCorners
Definition: OdometryInfo.h:87
rtabmap::OdometryInfo::interval
double interval
Definition: OdometryInfo.h:67
rtabmap::OdometryInfo::reg
RegistrationInfo reg
Definition: OdometryInfo.h:49
rtabmap::OdometryInfo
Definition: OdometryInfo.h:41
rtabmap::OdometryInfo::memoryUsage
int memoryUsage
Definition: OdometryInfo.h:74
CameraModel.h
rtabmap::OdometryInfo::timeDeskewing
float timeDeskewing
Definition: OdometryInfo.h:63
rtabmap::OdometryInfo::guess
Transform guess
Definition: OdometryInfo.h:72
rtabmap
Definition: CameraARCore.cpp:35
rtabmap::OdometryInfo::transformGroundTruth
Transform transformGroundTruth
Definition: OdometryInfo.h:70
rtabmap::OdometryInfo::gravityRollError
double gravityRollError
Definition: OdometryInfo.h:75
rtabmap::OdometryInfo::localBundleAvgInlierDistance
float localBundleAvgInlierDistance
Definition: OdometryInfo.h:59
rtabmap::OdometryInfo::localBundleOutliers
int localBundleOutliers
Definition: OdometryInfo.h:54


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Apr 28 2025 02:45:57