NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
ransac_pnp_params.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
#ifndef VISION_COMMON_RANSAC_PNP_PARAMS_H_
19
#define VISION_COMMON_RANSAC_PNP_PARAMS_H_
20
21
#include <string>
22
23
namespace
vision_common
{
24
struct
RansacPnPParams
{
25
double
max_inlier_threshold
;
26
int
num_iterations
;
27
int
min_num_inliers
;
28
// TODO(rsoussan): Change this to cv::SolvePnPMethod when opencv version updated
29
int
pnp_method
;
30
};
31
}
// namespace vision_common
32
33
#endif // VISION_COMMON_RANSAC_PNP_PARAMS_H_
vision_common
Definition:
brisk_feature_detector_and_matcher.h:25
vision_common::RansacPnPParams::pnp_method
int pnp_method
Definition:
ransac_pnp_params.h:29
vision_common::RansacPnPParams::num_iterations
int num_iterations
Definition:
ransac_pnp_params.h:26
vision_common::RansacPnPParams::min_num_inliers
int min_num_inliers
Definition:
ransac_pnp_params.h:27
vision_common::RansacPnPParams::max_inlier_threshold
double max_inlier_threshold
Definition:
ransac_pnp_params.h:25
vision_common::RansacPnPParams
Definition:
ransac_pnp_params.h:24