mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Typo fix. Grammarians will be extreamely glad to complement the OP team now that these errors haved disappeared.
This commit is contained in:
parent
0e201818f0
commit
87900043a4
@ -104,7 +104,7 @@ const uint32_t SENSOR_QUEUE_SIZE = 10;
|
||||
// Private functions
|
||||
static void AttitudeTask(void *parameters);
|
||||
|
||||
static int32_t updateAttitudeComplimentary(bool first_run);
|
||||
static int32_t updateAttitudeComplementary(bool first_run);
|
||||
static int32_t updateAttitudeINSGPS(bool first_run, bool outdoor_mode);
|
||||
static void settingsUpdatedCb(UAVObjEvent * objEv);
|
||||
|
||||
@ -223,8 +223,8 @@ static void AttitudeTask(void *parameters)
|
||||
|
||||
// This function blocks on data queue
|
||||
switch (revoSettings.FusionAlgorithm ) {
|
||||
case REVOSETTINGS_FUSIONALGORITHM_COMPLIMENTARY:
|
||||
ret_val = updateAttitudeComplimentary(first_run);
|
||||
case REVOSETTINGS_FUSIONALGORITHM_COMPLEMENTARY:
|
||||
ret_val = updateAttitudeComplementary(first_run);
|
||||
break;
|
||||
case REVOSETTINGS_FUSIONALGORITHM_INSOUTDOOR:
|
||||
ret_val = updateAttitudeINSGPS(first_run, true);
|
||||
@ -251,7 +251,7 @@ float mag_err[3];
|
||||
float magKi = 0.000001f;
|
||||
float magKp = 0.01f;
|
||||
|
||||
static int32_t updateAttitudeComplimentary(bool first_run)
|
||||
static int32_t updateAttitudeComplementary(bool first_run)
|
||||
{
|
||||
UAVObjEvent ev;
|
||||
GyrosData gyrosData;
|
||||
|
@ -20,7 +20,7 @@ public:
|
||||
return QString("OpenPilot INS");
|
||||
break;
|
||||
case 0x0301://PipX
|
||||
return QString("PipXtreame");
|
||||
return QString("PipXtreme");
|
||||
break;
|
||||
case 0x0401://Coptercontrol
|
||||
return QString("CopterControl");
|
||||
|
@ -1,7 +1,7 @@
|
||||
<xml>
|
||||
<object name="RevoSettings" singleinstance="true" settings="true">
|
||||
<description>Settings for the revo to control the algorithm and what is updated</description>
|
||||
<field name="FusionAlgorithm" units="" type="enum" elements="1" options="Complimentary,INSIndoor,INSOutdoor" defaultvalue="Complimentary"/>
|
||||
<field name="FusionAlgorithm" units="" type="enum" elements="1" options="Complementary,INSIndoor,INSOutdoor" defaultvalue="Complementary"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
|
Loading…
Reference in New Issue
Block a user