NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
depth_image_measurement.h
Go to the documentation of this file.
1
/* Copyright (c) 2017, United States Government, as represented by the
2
* Administrator of the National Aeronautics and Space Administration.
3
*
4
* All rights reserved.
5
*
6
* The Astrobee platform is licensed under the Apache License, Version 2.0
7
* (the "License"); you may not use this file except in compliance with the
8
* License. You may obtain a copy of the License at
9
*
10
* http://www.apache.org/licenses/LICENSE-2.0
11
*
12
* Unless required by applicable law or agreed to in writing, software
13
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
* License for the specific language governing permissions and limitations
16
* under the License.
17
*/
18
19
#ifndef LOCALIZATION_MEASUREMENTS_DEPTH_IMAGE_MEASUREMENT_H_
20
#define LOCALIZATION_MEASUREMENTS_DEPTH_IMAGE_MEASUREMENT_H_
21
22
#include <
localization_common/time.h
>
23
#include <
localization_measurements/depth_image.h
>
24
#include <
localization_measurements/measurement.h
>
25
26
#include <opencv2/core.hpp>
27
28
#include <pcl/point_cloud.h>
29
#include <pcl/point_types.h>
30
31
namespace
localization_measurements
{
32
struct
DepthImageMeasurement
:
public
Measurement
{
33
DepthImageMeasurement
(
const
cv::Mat& image,
const
pcl::PointCloud<pcl::PointXYZI>::Ptr point_cloud,
34
const
localization_common::Time
timestamp
)
35
:
Measurement
(
timestamp
),
depth_image
(image, point_cloud) {}
36
DepthImage
depth_image
;
37
};
38
}
// namespace localization_measurements
39
40
#endif // LOCALIZATION_MEASUREMENTS_DEPTH_IMAGE_MEASUREMENT_H_
localization_measurements::Measurement::timestamp
localization_common::Time timestamp
Definition:
measurement.h:29
localization_measurements::DepthImageMeasurement::DepthImageMeasurement
DepthImageMeasurement(const cv::Mat &image, const pcl::PointCloud< pcl::PointXYZI >::Ptr point_cloud, const localization_common::Time timestamp)
Definition:
depth_image_measurement.h:33
localization_measurements::DepthImageMeasurement::depth_image
DepthImage depth_image
Definition:
depth_image_measurement.h:36
localization_measurements::DepthImage
Definition:
depth_image.h:32
measurement.h
time.h
localization_measurements::Measurement
Definition:
measurement.h:25
localization_measurements
Definition:
depth_correspondences.h:25
depth_image.h
localization_measurements::DepthImageMeasurement
Definition:
depth_image_measurement.h:32
localization_common::Time
double Time
Definition:
time.h:23