OSVR-Core
PoseEstimator_RANSACKalman.h
Go to the documentation of this file.
1 
11 // Copyright 2016 Sensics, Inc.
12 //
13 // Licensed under the Apache License, Version 2.0 (the "License");
14 // you may not use this file except in compliance with the License.
15 // You may obtain a copy of the License at
16 //
17 // http://www.apache.org/licenses/LICENSE-2.0
18 //
19 // Unless required by applicable law or agreed to in writing, software
20 // distributed under the License is distributed on an "AS IS" BASIS,
21 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 // See the License for the specific language governing permissions and
23 // limitations under the License.
24 
25 #ifndef INCLUDED_PoseEstimator_RANSACKalman_h_GUID_D1F93D34_7D5C_4F93_4310_C3786103DCB8
26 #define INCLUDED_PoseEstimator_RANSACKalman_h_GUID_D1F93D34_7D5C_4F93_4310_C3786103DCB8
27 
28 // Internal Includes
29 #include "ConfigParams.h"
30 #include "PoseEstimatorTypes.h"
31 #include "PoseEstimator_RANSAC.h"
32 
33 // Library/third-party includes
34 // - none
35 
36 // Standard includes
37 #include <cstddef>
38 
39 namespace osvr {
40 namespace vbtracker {
42  public:
43  RANSACKalmanPoseEstimator(double positionVarianceScale = 1.e-1,
44  double orientationVariance = 1.e0);
49  bool operator()(EstimatorInOutParams const &p, LedPtrList const &leds,
50  osvr::util::time::TimeValue const &frameTime);
51 
52  private:
53  RANSACPoseEstimator m_ransac;
54  const double m_positionVarianceScale;
55  const double m_orientationVariance;
56  };
57 } // namespace vbtracker
58 } // namespace osvr
59 
60 #endif // INCLUDED_PoseEstimator_RANSACKalman_h_GUID_D1F93D34_7D5C_4F93_4310_C3786103DCB8
bool operator()(EstimatorInOutParams const &p, LedPtrList const &leds, osvr::util::time::TimeValue const &frameTime)
Perform RANSAC-based pose estimation but filter results in via an EKF to the body state...
Definition: PoseEstimator_RANSACKalman.cpp:44
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
Definition: PoseEstimatorTypes.h:43
Definition: PoseEstimator_RANSACKalman.h:41
Definition: PoseEstimator_RANSAC.h:40
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...
Definition: TimeValueC.h:81