EfisPFD {
id:hudPDF
y:0
- x:100
+ anchors.horizontalCenter: parent.horizontalCenter
visible:drone.confShowHorizon
roll:drone.droneRoll
pitch:drone.dronePitch
indicatorColor:"#00FF00"
skyColor:"#00000000"
groundColor:"#00000000"
-// value:lj.xv
-// value2:lj.yv
- width:640;height:480;
+ width:500;height:400;
}
-
Text {
y:50
- // visible:drone.confUseAccel
+ visible:drone.confShowDebug
color: "#00FF00"
id: droneCtrlValues
font.pixelSize:25
text: "cmd:pitch=" + drone.pitch.toFixed(2) + " roll= " + drone.roll.toFixed(2) + " yaw=" + drone.yaw.toFixed(2) + " vv= " + drone.vVelocity.toFixed(2)
}
+
Text {
y:70
visible:drone.confShowDebug
anchors.left:parent.left
anchors.bottom:parent.bottom
anchors.margins:10
- // joyBackground: ""
+ joyBackground: ""
onYvChanged:{drone.vVelocity=-1*yv/200.0;}
onXvChanged:{drone.yaw=xv/200.0;}
onPressedChanged: { drone.ctrlActive=pressed;}
JoyStickTouch {
visible: !drone.confUseJoyStick
id:rj
-
- // joyBackground: ""
+ joyBackground: ""
anchors.right:parent.right
anchors.bottom:parent.bottom
width:200;height:200;
Button {
x:400
width:60
+ height:50
id:flyButton
anchors.bottom:parent.bottom
anchors.margins:15
}
}
Button {
- x:400;y:100
- width:120
+ x:500;
+ width:80
+ height:50
id:emergencyButton
- anchors.top:parent.top
-
+ anchors.bottom:parent.bottom
anchors.margins:15
- text:"Energency";
+ text:"Emrg";
checkable:true
onClicked:{drone.emergency=checked;}
}
-
+ Button {
+ x:600;
+ width:100
+ height:50
+ id:recordButton
+ anchors.bottom:parent.bottom
+ anchors.margins:15
+ text:"Rec";
+ checkable:true
+ onClicked:{droneVideo.recVideo=checked; drone.logFileName=droneVideo.videoFileName; drone.recordLog=checked;}
+ }
+ Text {
+ y:700
+ anchors.bottom:parent.bottom
+ // visible:droneVideo.recVideo
+ color: "#00FF00"
+ id: droneFrameSeq
+ font.pixelSize:25
+ text: droneVideo.videoFileName+ " "+droneVideo.frameSeq
+ }
Connections {
target:drone