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

Flight/Guidance: Enable for any type of quad airframe

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1932 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
peabody124 2010-10-10 00:46:04 +00:00 committed by peabody124
parent e72b6051b5
commit 5f601bf5ab
2 changed files with 5 additions and 3 deletions

View File

@ -109,7 +109,9 @@ static void guidanceTask(void *parameters)
GuidanceSettingsGet(&guidanceSettings);
if ((manualControl.FlightMode == MANUALCONTROLCOMMAND_FLIGHTMODE_AUTO) &&
(systemSettings.AirframeType == SYSTEMSETTINGS_AIRFRAMETYPE_VTOL)) {
((systemSettings.AirframeType == SYSTEMSETTINGS_AIRFRAMETYPE_VTOL) ||
(systemSettings.AirframeType == SYSTEMSETTINGS_AIRFRAMETYPE_QUADP) ||
(systemSettings.AirframeType == SYSTEMSETTINGS_AIRFRAMETYPE_QUADX))){
updateVtolDesiredVelocity();
updateVtolDesiredAttitude();
} else {

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>653</width>
<height>295</height>
<height>296</height>
</rect>
</property>
<property name="sizePolicy">
@ -71,7 +71,7 @@
<number>1</number>
</property>
<property name="maximum">
<number>999</number>
<number>9999</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>