RTAB-Map 0.23.10
Real-Time Appearance-Based Mapping
Loading...
Searching...
No Matches
SensorCaptureInfo.h
1/*
2Copyright (c) 2010-2016, Mathieu Labbe - IntRoLab - Universite de Sherbrooke
3All rights reserved.
4
5Redistribution and use in source and binary forms, with or without
6modification, 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
16THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
20DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23ON 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
25SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26*/
27
28#pragma once
29
30#include "rtabmap/core/Transform.h"
31#include <string>
32
33namespace rtabmap
34{
35
65{
66
67public:
81 cameraName(""),
82 id(0),
83 stamp(0.0),
84 timeCapture(0.0f),
85 timeDeskewing(0.0f),
86 timeDisparity(0.0f),
87 timeMirroring(0.0f),
94 timeTotal(0.0f),
95 odomCovariance(cv::Mat::eye(6,6,CV_64FC1))
96 {
97 }
98
103
104 std::string cameraName;
105 int id;
106 double stamp;
107
108 // Timing information (all in seconds)
119 float timeTotal;
120
121 // Odometry information
124 std::vector<float> odomVelocity;
125};
126
133RTABMAP_DEPRECATED typedef SensorCaptureInfo CameraInfo;
134
135} // namespace rtabmap
Metadata structure for sensor data capture and processing.
float timeBilateralFiltering
Time for bilateral filtering of depth (seconds)
float timeScanFromDepth
Time to convert depth image to laser scan (seconds)
float timeCapture
Time to capture data from the sensor (seconds)
int id
Capture ID (typically matches SensorData ID)
float timeMirroring
Time for image mirroring/flipping (seconds)
float timeStereoExposureCompensation
Time for stereo exposure compensation (seconds)
virtual ~SensorCaptureInfo()
Virtual destructor.
Transform odomPose
Odometry pose at the time of capture (in odometry coordinate frame)
std::vector< float > odomVelocity
6DOF odometry velocity [vx, vy, vz, vroll, vpitch, vyaw] (m/s, rad/s)
SensorCaptureInfo()
Default constructor.
std::string cameraName
Camera/sensor name identifier.
cv::Mat odomCovariance
Odometry twist covariance matrix (6x6, CV_64FC1). Default: identity matrix.
float timeDeskewing
Time for laser scan deskewing (seconds)
float timeTotal
Total processing time (seconds)
float timeHistogramEqualization
Time for histogram equalization (seconds)
double stamp
Timestamp in seconds (typically matches SensorData stamp)
float timeImageDecimation
Time for image decimation/downsampling (seconds)
float timeDisparity
Time to compute stereo disparity (seconds)
float timeUndistortDepth
Time to undistort depth image (seconds)
Represents a 3D rigid body transformation (rotation + translation).
Definition Transform.h:53
RTABMAP_DEPRECATED typedef SensorCaptureInfo CameraInfo
Backward compatibility typedef.