|
void | sygaldry::sygsp::complementary_mimu_fusion_init (ComplementaryMimuFusionInputs &in, ComplementaryMimuFusionOutputs &out) |
|
void | sygaldry::sygsp::complementary_mimu_fusion (const std::array< float, 3 > &gyro, const std::array< float, 3 > &accl, bool accl_updated, const std::array< float, 3 > &magn, bool magn_updated, const unsigned long elapsed, const ComplementaryMimuFusionInputs &in, ComplementaryMimuFusionOutputs &out) |
|
Literate source code: sygsp-complementary_mimu_fusion: MIMU Sensor Fusion
◆ complementary_mimu_fusion()
void sygaldry::sygsp::complementary_mimu_fusion |
( |
const std::array< float, 3 > & |
gyro, |
|
|
const std::array< float, 3 > & |
accl, |
|
|
bool |
accl_updated, |
|
|
const std::array< float, 3 > & |
magn, |
|
|
bool |
magn_updated, |
|
|
const unsigned long |
elapsed, |
|
|
const ComplementaryMimuFusionInputs & |
in, |
|
|
ComplementaryMimuFusionOutputs & |
out |
|
) |
| |
Core complementary MIMU fusion filter routine
- Parameters
-
[in] | gyro | Angular rate measurement from gyroscope. A gyroscope measurement must always be given. |
[in] | accl | Acceleration measurement from accelerometer. Set to all 0 if no measurement is available. |
[in] | magn | Magnetic field measurement from magnetometer. Set to all 0 if no measurement is available. |
[in] | elapsed | Time elapsed since last update (i.e. measurement period). |
[in] | in | Filter input endpoints |
[out] | out | Filter output endpoints |
◆ complementary_mimu_fusion_init()
Core complementary MIMU fusion filter initialization
- Parameters
-
[in,out] | in | Filter input endpoints to initialize |
[in,out] | out | Filter output endpoints to initialize |