19 changed files with 239 additions and 306 deletions
@ -0,0 +1,32 @@
@@ -0,0 +1,32 @@
|
||||
import QtQuick 2.2 |
||||
import QtQuick.Controls 1.2 |
||||
import QtQuick.Controls.Styles 1.2 |
||||
import QGroundControl.FactSystem 1.0 |
||||
import QGroundControl.FactControls 1.0 |
||||
|
||||
Column { |
||||
anchors.fill: parent |
||||
anchors.margins: 8 |
||||
|
||||
Row { |
||||
width: parent.width |
||||
|
||||
Text { id: systemId; text: "System ID:" } |
||||
Text { |
||||
horizontalAlignment: Text.AlignRight |
||||
width: parent.width - systemId.contentWidth |
||||
text: autopilot.parameters["MAV_SYS_ID"].value |
||||
} |
||||
} |
||||
|
||||
Row { |
||||
width: parent.width |
||||
|
||||
Text { id: airframe; text: "Airframe:" } |
||||
Text { |
||||
horizontalAlignment: Text.AlignRight |
||||
width: parent.width - airframe.contentWidth |
||||
text: autopilot.parameters["SYS_AUTOSTART"].value == 0 ? "Setup required" : autopilot.parameters["SYS_AUTOSTART"].value |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,54 @@
@@ -0,0 +1,54 @@
|
||||
import QtQuick 2.2 |
||||
import QtQuick.Controls 1.2 |
||||
import QtQuick.Controls.Styles 1.2 |
||||
import QGroundControl.FactSystem 1.0 |
||||
import QGroundControl.FactControls 1.0 |
||||
|
||||
Column { |
||||
anchors.fill: parent |
||||
anchors.margins: 8 |
||||
|
||||
Row { |
||||
width: parent.width |
||||
|
||||
Text { id: mode; text: "Mode switch:" } |
||||
Text { |
||||
horizontalAlignment: Text.AlignRight |
||||
width: parent.width - mode.contentWidth |
||||
text: autopilot.parameters["RC_MAP_MODE_SW"].value == 0 ? "Setup required" : autopilot.parameters["RC_MAP_MODE_SW"].value |
||||
} |
||||
} |
||||
|
||||
Row { |
||||
width: parent.width |
||||
|
||||
Text { id: posctl; text: "Position Ctl switch:" } |
||||
Text { |
||||
horizontalAlignment: Text.AlignRight |
||||
width: parent.width - posctl.contentWidth |
||||
text: autopilot.parameters["RC_MAP_POSCTL_SW"].value == 0 ? "Not mapped" : autopilot.parameters["RC_MAP_POSCTL_SW"].value |
||||
} |
||||
} |
||||
|
||||
Row { |
||||
width: parent.width |
||||
|
||||
Text { id: loiter; text: "Loiter switch:" } |
||||
Text { |
||||
horizontalAlignment: Text.AlignRight |
||||
width: parent.width - loiter.contentWidth |
||||
text: autopilot.parameters["RC_MAP_LOITER_SW"].value == 0 ? "Not mapped" : autopilot.parameters["RC_MAP_LOITER_SW"].value |
||||
} |
||||
} |
||||
|
||||
Row { |
||||
width: parent.width |
||||
|
||||
Text { id: rtl; text: "Return switch:" } |
||||
Text { |
||||
horizontalAlignment: Text.AlignRight |
||||
width: parent.width - rtl.contentWidth |
||||
text: autopilot.parameters["RC_MAP_RETURN_SW"].value == 0 ? "Not mapped" : autopilot.parameters["RC_MAP_RETURN_SW"].value |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,65 @@
@@ -0,0 +1,65 @@
|
||||
import QtQuick 2.2 |
||||
import QtQuick.Controls 1.2 |
||||
import QtQuick.Controls.Styles 1.2 |
||||
import QGroundControl.FactSystem 1.0 |
||||
import QGroundControl.FactControls 1.0 |
||||
|
||||
Column { |
||||
anchors.fill: parent |
||||
anchors.margins: 8 |
||||
|
||||
Row { |
||||
width: parent.width |
||||
|
||||
Text { id: rtlMinAlt; text: "RTL min alt:" } |
||||
Text { |
||||
horizontalAlignment: Text.AlignRight; |
||||
width: parent.width - rtlMinAlt.contentWidth; |
||||
text: autopilot.parameters["RTL_RETURN_ALT"].valueString |
||||
} |
||||
} |
||||
|
||||
Row { |
||||
width: parent.width |
||||
|
||||
Text { id: rtlHomeAlt; text: "RTL home alt:" } |
||||
Text { |
||||
horizontalAlignment: Text.AlignRight; |
||||
width: parent.width - rtlHomeAlt.contentWidth; |
||||
text: autopilot.parameters["RTL_DESCEND_ALT"].valueString |
||||
} |
||||
} |
||||
|
||||
Row { |
||||
width: parent.width |
||||
|
||||
Text { id: rtlLoiter; text: "RTL loiter delay:" } |
||||
Text { |
||||
horizontalAlignment: Text.AlignRight; |
||||
width: parent.width - rtlLoiter.contentWidth; |
||||
text: autopilot.parameters["RTL_LAND_DELAY"].value < 0 ? "Disabled" : autopilot.parameters["RTL_LAND_DELAY"].valueString |
||||
} |
||||
} |
||||
|
||||
Row { |
||||
width: parent.width |
||||
|
||||
Text { id: commLoss; text: "Telemetry loss RTL:" } |
||||
Text { |
||||
horizontalAlignment: Text.AlignRight; |
||||
width: parent.width - commLoss.contentWidth; |
||||
text: autopilot.parameters["COM_DL_LOSS_EN"].value != 1 ? "Disabled" : autopilot.parameters["NAV_DLL_N"].valueString |
||||
} |
||||
} |
||||
|
||||
Row { |
||||
width: parent.width |
||||
|
||||
Text { id: rcLoss; text: "RC loss RTL (seconds):" } |
||||
Text { |
||||
horizontalAlignment: Text.AlignRight; |
||||
width: parent.width - rcLoss.contentWidth; |
||||
text: autopilot.parameters["COM_RC_LOSS_T"].valueString |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,54 @@
@@ -0,0 +1,54 @@
|
||||
import QtQuick 2.2 |
||||
import QtQuick.Controls 1.2 |
||||
import QtQuick.Controls.Styles 1.2 |
||||
import QGroundControl.FactSystem 1.0 |
||||
import QGroundControl.FactControls 1.0 |
||||
|
||||
Column { |
||||
anchors.fill: parent |
||||
anchors.margins: 8 |
||||
|
||||
Row { |
||||
width: parent.width |
||||
|
||||
Text { id: compass; text: "Compass:" } |
||||
Text { |
||||
horizontalAlignment: Text.AlignRight; |
||||
width: parent.width - compass.contentWidth; |
||||
text: autopilot.parameters["SENS_MAG_XOFF"].value == 0.0 ? "Setup required" : "Ready" |
||||
} |
||||
} |
||||
|
||||
Row { |
||||
width: parent.width |
||||
|
||||
Text { id: gyro; text: "Gyro:" } |
||||
Text { |
||||
horizontalAlignment: Text.AlignRight; |
||||
width: parent.width - gyro.contentWidth; |
||||
text: autopilot.parameters["SENS_GYRO_XOFF"].value == 0.0 ? "Setup required" : "Ready" |
||||
} |
||||
} |
||||
|
||||
Row { |
||||
width: parent.width |
||||
|
||||
Text { id: accel; text: "Accelerometer:" } |
||||
Text { |
||||
horizontalAlignment: Text.AlignRight; |
||||
width: parent.width - accel.contentWidth; |
||||
text: autopilot.parameters["SENS_ACC_XOFF"].value == 0.0 ? "Setup required" : "Ready" |
||||
} |
||||
} |
||||
|
||||
Row { |
||||
width: parent.width |
||||
|
||||
Text { id: airspeed; text: "Airspeed:" } |
||||
Text { |
||||
horizontalAlignment: Text.AlignRight; |
||||
width: parent.width - airspeed.contentWidth; |
||||
text: autopilot.parameters["SENS_DPRES_OFF"].value == 0.0 ? "Setup required" : "Ready" |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue