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:
parent
a1bb86ee6a
commit
b93a7a9dce
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user