You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
39 lines
1.1 KiB
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 |
|
import QGroundControl.Controls 1.0 |
|
|
|
/* |
|
IMPORTANT NOTE: Any changes made here must also be made to SensorsComponentSummary.qml |
|
*/ |
|
|
|
FactPanel { |
|
anchors.fill: parent |
|
|
|
Fact { id: mag0IdFact; name: "CAL_MAG0_ID"; onFactMissing: showMissingFactOverlay(name) } |
|
Fact { id: gyro0IdFact; name: "CAL_GYRO0_ID"; onFactMissing: showMissingFactOverlay(name) } |
|
Fact { id: accel0IdFact; name: "CAL_ACC0_ID"; onFactMissing: showMissingFactOverlay(name) } |
|
|
|
Column { |
|
anchors.fill: parent |
|
anchors.margins: 8 |
|
|
|
VehicleSummaryRow { |
|
labelText: "Compass:" |
|
valueText: mag0IdFact.value == 0 ? "Setup required" : "Ready" |
|
} |
|
|
|
VehicleSummaryRow { |
|
labelText: "Gyro:" |
|
valueText: gyro0IdFact.value == 0 ? "Setup required" : "Ready" |
|
} |
|
|
|
VehicleSummaryRow { |
|
labelText: "Accelerometer:" |
|
valueText: accel0IdFact.value == 0 ? "Setup required" : "Ready" |
|
} |
|
} |
|
} |