1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +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,14 +162,17 @@ static float gyroDelta[3];
// preconfigured filter chains selectable via revoSettings.FusionAlgorithm
static const filterPipeline *cfQueue = &(filterPipeline) {
.filter = &airFilter,
.filter = &magFilter,
.next = &(filterPipeline) {
.filter = &baroiFilter,
.filter = &airFilter,
.next = &(filterPipeline) {
.filter = &altitudeFilter,
.filter = &baroiFilter,
.next = &(filterPipeline) {
.filter = &cfFilter,
.next = NULL,
.filter = &altitudeFilter,
.next = &(filterPipeline) {
.filter = &cfFilter,
.next = NULL,
}
}
}
}