Video record function added
[mardrone] / mardrone / ardrone_desktop.qml
index 66f835a..196182a 100644 (file)
@@ -30,6 +30,11 @@ Window {
                 shortcut: "Ctrl+Q"
                 onTriggered: Qt.quit()
             }
+            MenuItem {
+                text: "Record"
+                shortcut: "Ctrl+R"
+                onTriggered: Qt.quit()
+            }
         }
         Menu {
             text: "Edit"
@@ -72,7 +77,11 @@ Window {
          //   anchors.horizontalCenter:parent.horizontalCenter
             width:drone.confFullScreen? parent.width:640 ;height:width<=640 ?480*width/640:480;
         }
-
+        Binding {
+          target:drone
+          property:"logSeq"
+          value: droneVideo.frameSeq;
+        }
         EfisPFD {
             id:hudPDF
             y:0
@@ -87,12 +96,9 @@ Window {
             groundColor:"#00000000"
             width:640;height:480;
         }
-
-
         Text {
             y:100
-
- //           visible:drone.confUseAccel
+            visible:drone.confShowDebug
             color: "#00FF00"
             id: droneCtrlValues
             font.pixelSize:20
@@ -177,6 +183,7 @@ Window {
                 id:lj
                 width:280;height:280;
                 y:200
+                joyBackground: ""
                 visible: !drone.confUseAccel & !drone.confUseJoyStick
                 anchors.left:parent.left
                 anchors.margins:50
@@ -190,6 +197,7 @@ Window {
                  visible: !drone.confUseJoyStick
                 id:rj
                 y:200
+                joyBackground: ""
                 anchors.right:parent.right
                 width:280;height:280;
                 anchors.margins:50
@@ -246,7 +254,7 @@ Window {
             displayScale:0.85
             font.pixelSize:10
             tickIncrement:10
-            tickSpacing:20
+            tickSpacing:24
             tickMinor:5
             lowPosition:220
             highPosition:120
@@ -260,7 +268,7 @@ Window {
         }
         GaugeHSI{
             anchors.margins:10
-            displayScale:0.7
+            displayScale:0.5
             width:120
             height:120
             font.pixelSize:10