|
NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
|
Go to the documentation of this file.
19 #ifndef IMU_INTEGRATION_BUTTERO1_H_
20 #define IMU_INTEGRATION_BUTTERO1_H_
27 template <
class Params>
33 if (!initialized_) Initialize(value, Params::kGain);
40 xv_[3] = value / Params::kGain;
46 yv_[3] = (xv_[0] + xv_[3]) + Params::kX12 * (xv_[1] + xv_[2]) + (Params::kY2 * yv_[2]);
52 void Initialize(
const double first_value,
const double gain) {
53 for (
auto& val : xv_) {
54 val = first_value / gain;
56 for (
auto& val : yv_) {
65 std::array<double, 4> xv_;
66 std::array<double, 4> yv_;
72 static constexpr
double kGain = 2.999100930e+01;
73 static constexpr
double kX12 = 2.9560160746;
74 static constexpr
double kY2 = 0.7361865327;
79 static constexpr
double kGain = 2.2743339590e+01;
80 static constexpr
double kX12 = 1.9999996372;
81 static constexpr
double kY2 = 0.7361865327;
86 static constexpr
double kGain = 1.5479761468e+01;
87 static constexpr
double kX12 = 1.0418847728;
88 static constexpr
double kY2 = 0.7361865327;
95 static constexpr
double kGain = 4.270814376e+01;
96 static constexpr
double kX12 = 1.9996372182;
97 static constexpr
double kY2 = 0.8595285604;
103 static constexpr
double kGain = 3.144018095e+01;
104 static constexpr
double kX12 = 1.2082237395;
105 static constexpr
double kY2 = 0.8595285604;
111 static constexpr
double kGain = 4.839840415e+01;
112 static constexpr
double kX12 = 2.3992967530;
113 static constexpr
double kY2 = 0.8595285604;
119 #endif // IMU_INTEGRATION_BUTTERO1_H_
static constexpr double kX12
Definition: butterO1.h:104
static constexpr double kX12
Definition: butterO1.h:96
static constexpr double kGain
Definition: butterO1.h:95
static constexpr double kGain
Definition: butterO1.h:103
static constexpr double kX12
Definition: butterO1.h:73
double AddValue(const double value) final
Definition: butterO1.h:32
Definition: butterO1.h:94
static constexpr double kX12
Definition: butterO1.h:87
static constexpr double kX12
Definition: butterO1.h:80
ButterO1()
Definition: butterO1.h:30
static constexpr double kGain
Definition: butterO1.h:111
static constexpr double kX12
Definition: butterO1.h:112
static constexpr double kY2
Definition: butterO1.h:88
static constexpr double kGain
Definition: butterO1.h:86
static constexpr double kY2
Definition: butterO1.h:105
static constexpr double kY2
Definition: butterO1.h:97
Definition: butterO1.h:26
Definition: butterO1.h:102
Definition: butterO1.h:28
Definition: butterO1.h:85
static constexpr double kY2
Definition: butterO1.h:74
Definition: butterO1.h:110
static constexpr double kGain
Definition: butterO1.h:79
static constexpr double kY2
Definition: butterO1.h:81
Definition: butterO1.h:78
static constexpr double kY2
Definition: butterO1.h:113
static constexpr double kGain
Definition: butterO1.h:72
Definition: butterO1.h:71