1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

OP-1434 - Enable magFilter for CF as it is needed to get Mag data for initial estimation

This commit is contained in:
Alessio Morale 2014-08-31 23:39:30 +02:00
parent 8418804ce4
commit 4715219a4b

View File

@ -162,6 +162,8 @@ static float gyroDelta[3];
// preconfigured filter chains selectable via revoSettings.FusionAlgorithm
static const filterPipeline *cfQueue = &(filterPipeline) {
.filter = &magFilter,
.next = &(filterPipeline) {
.filter = &airFilter,
.next = &(filterPipeline) {
.filter = &baroiFilter,
@ -173,6 +175,7 @@ static const filterPipeline *cfQueue = &(filterPipeline) {
}
}
}
}
};
static const filterPipeline *cfmiQueue = &(filterPipeline) {
.filter = &magFilter,