// FIXME: Need to convert QGCViewPanel to FactPanel
QGCViewPanel{
anchors.fill:parent
QGCPalette{id:qgcPal;colorGroupEnabled:enabled}
readonlypropertyintrotationColumnWidth:200
readonlypropertyintrotationColumnWidth:200
readonlypropertyvarrotations:[
readonlypropertyvarrotations:[
...
@@ -66,12 +161,11 @@ Rectangle {
...
@@ -66,12 +161,11 @@ Rectangle {
"ROTATION_ROLL_270_YAW_270"
"ROTATION_ROLL_270_YAW_270"
]
]
readonlypropertystringstatusTextAreaDefaultText:"Sensor config is a work in progress. Not all visuals for all calibration types fully implemented.\n\n"+
readonlypropertystringstatusTextAreaDefaultText:"For Compass calibration you will need to rotate your vehicle through a number of positions. For this calibration is is best "+
"For Compass calibration you will need to rotate your vehicle through a number of positions. For this calibration is is best "+
"to be connected to your vehicle via radio instead of USB since the USB cable will likely get in the way.\n\n"+
"to be connected to you vehicle via radio instead of USB since the USB cable will likely get in the way.\n\n"+
"For Gyroscope calibration you will need to place your vehicle right side up on solid surface and leave it still.\n\n"+
"For Gyroscope calibration you will need to place your vehicle right side up on solid surface and leave it still.\n\n"+
"For Accelerometer calibration you will need to place your vehicle on all six sides and hold it there for a few seconds.\n\n"+
"For Accelerometer calibration you will need to place your vehicle on all six sides and hold it still there for a few seconds.\n\n"+
"For Airspeed calibration you will need to keep your airspeed sensor out of any wind.\n\n"
"For Airspeed calibration you will need to keep your airspeed sensor out of any wind and then blow across the sensor.\n\n"
Fact{id:cal_mag0_id;name:"CAL_MAG0_ID"}
Fact{id:cal_mag0_id;name:"CAL_MAG0_ID"}
Fact{id:cal_mag1_id;name:"CAL_MAG1_ID"}
Fact{id:cal_mag1_id;name:"CAL_MAG1_ID"}
...
@@ -146,68 +240,6 @@ Rectangle {
...
@@ -146,68 +240,6 @@ Rectangle {
}
}
}
}
Rectangle{
propertystringcalibrationType
id:boardRotationOverlay
width:300
height:boardRotationOverlayColumn.height+11
anchors.verticalCenter:parent.verticalCenter
anchors.horizontalCenter:parent.horizontalCenter
color:qgcPal.window
border.width:1
border.color:qgcPal.text
visible:false
z:overlay.z+1
Column{
id:boardRotationOverlayColumn
anchors.topMargin:10
anchors.top:parent.top
width:parent.width
spacing:10
Column{
anchors.leftMargin:10
anchors.rightMargin:10
anchors.left:parent.left
anchors.right:parent.right
spacing:10
QGCLabel{
width:parent.width
wrapMode:Text.WordWrap
text:"Please check and/or update board rotation before calibrating"