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

Arming for Helis on Revo

This commit is contained in:
Fredrik Larsson 2014-09-23 05:35:35 +10:00
parent a1bb86ee6a
commit b93a7a9dce
3 changed files with 7 additions and 10 deletions

View File

@ -223,7 +223,7 @@ static filterResult complementaryFilter(struct data *this, float gyro[3], float
if (this->first_run) {
#if defined(PIOS_INCLUDE_HMC5X83)
// wait until mags have been updated
if (!this->magUpdated) {
if (!this->magUpdated && this->useMag) {
return FILTERRESULT_ERROR;
}
#else

View File

@ -162,8 +162,6 @@ 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,
@ -175,7 +173,6 @@ static const filterPipeline *cfQueue = &(filterPipeline) {
}
}
}
}
};
static const filterPipeline *cfmiQueue = &(filterPipeline) {
.filter = &magFilter,

View File

@ -1,7 +1,7 @@
<xml>
<object name="Mpu6000Settings" singleinstance="true" settings="true" category="Sensors">
<description>Settings for the @ref MPU6000 sensor used on CC3D and Revolution. Reboot the board for this to takes effect</description>
<field name="GyroScale" units="deg/s" type="enum" elements="1" defaultvalue="Scale_2000">
<field name="GyroScale" units="deg/s" type="enum" elements="1" defaultvalue="Scale_1000">
<options>
<option>Scale_250</option>
<option>Scale_500</option>