Video record function added
[mardrone] / mardrone / ardrone_desktop.qml
index 9ffc103..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
@@ -174,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
@@ -187,6 +197,7 @@ Window {
                  visible: !drone.confUseJoyStick
                 id:rj
                 y:200
+                joyBackground: ""
                 anchors.right:parent.right
                 width:280;height:280;
                 anchors.margins:50
@@ -243,7 +254,7 @@ Window {
             displayScale:0.85
             font.pixelSize:10
             tickIncrement:10
-            tickSpacing:20
+            tickSpacing:24
             tickMinor:5
             lowPosition:220
             highPosition:120
@@ -257,7 +268,7 @@ Window {
         }
         GaugeHSI{
             anchors.margins:10
-            displayScale:0.7
+            displayScale:0.5
             width:120
             height:120
             font.pixelSize:10