NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
standstill_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_STANDSTILL_PARAMS_H_
19
#define VISION_COMMON_STANDSTILL_PARAMS_H_
20
21
#include <boost/serialization/serialization.hpp>
22
23
namespace
vision_common
{
24
struct
StandstillParams
{
25
// Min number of points for a track to be used for standstill calculation.
26
int
min_num_points_per_track
;
27
// Max track duration to consider for standstill.
28
double
duration
;
29
// Max average deviation for image point detections in feature tracks for standstill.
30
double
max_avg_distance_from_mean
;
31
32
private
:
33
// Serialization function
34
// TODO(rsoussan): Fix this, causing compile error
35
/*friend class boost::serialization::access;
36
template <class Archive>
37
void serialize(Archive& ar, const unsigned int file_version) {
38
ar& BOOST_SERIALIZATION_NVP(min_num_points_per_track);
39
ar& BOOST_SERIALIZATION_NVP(duration);
40
ar& BOOST_SERIALIZATION_NVP(max_avg_distance_from_mean);
41
}*/
42
};
43
}
// namespace vision_common
44
45
#endif // VISION_COMMON_STANDSTILL_PARAMS_H_
vision_common::StandstillParams::max_avg_distance_from_mean
double max_avg_distance_from_mean
Definition:
standstill_params.h:30
vision_common
Definition:
brisk_feature_detector_and_matcher.h:25
vision_common::StandstillParams::duration
double duration
Definition:
standstill_params.h:28
vision_common::StandstillParams::min_num_points_per_track
int min_num_points_per_track
Definition:
standstill_params.h:26
vision_common::StandstillParams
Definition:
standstill_params.h:24