OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ConfigParams.cpp
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 // Internal Includes
26 #include "ConfigParams.h"
27 
28 // Library/third-party includes
29 // - none
30 
31 // Standard includes
32 // - none
33 
34 namespace osvr {
35 namespace vbtracker {
37  const double positionNoise = 0.1661102065530816;
38  const double rotationNoise = 1.3e-1;
39  processNoiseAutocorrelation[0] = positionNoise;
40  processNoiseAutocorrelation[1] = positionNoise;
41  processNoiseAutocorrelation[2] = positionNoise;
42  processNoiseAutocorrelation[3] = rotationNoise;
43  processNoiseAutocorrelation[4] = rotationNoise;
44  processNoiseAutocorrelation[5] = rotationNoise;
45 
49  manualBeaconOffset[0] = 0;
50  manualBeaconOffset[1] = 0;
51  manualBeaconOffset[2] = 0;
52 
53  cameraPosition[0] = 0;
55  cameraPosition[1] = 1.2;
57  cameraPosition[2] = -0.5;
58  }
59 
60  TuningParams::TuningParams()
61  : noveltyPenaltyBase(1.282636090487287),
62  distanceMeasVarianceBase(0.9163785097),
63  distanceMeasVarianceIntercept(308.2142264) {}
64 } // namespace vbtracker
65 } // namespace osvr
double cameraPosition[3]
x, y, z, with y up, all in meters.
Definition: ConfigParams.h:257