Commit 6dd8e034 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #5405 from DonLakeFlyer/ImageTurnaround

Survey: Option to take images in turnarounds
parents 5eb921e0 6f0516bd
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
"name": "CameraTriggerInTurnaround", "name": "CameraTriggerInTurnaround",
"shortDescription": "Camera continues taking images in turnarounds.", "shortDescription": "Camera continues taking images in turnarounds.",
"type": "bool", "type": "bool",
"defaultValue": false "defaultValue": true
}, },
{ {
"name": "HoverAndCapture", "name": "HoverAndCapture",
......
...@@ -252,12 +252,6 @@ Rectangle { ...@@ -252,12 +252,6 @@ Rectangle {
enabled: cameraTriggerDistanceCheckBox.checked enabled: cameraTriggerDistanceCheckBox.checked
} }
} }
FactCheckBox {
text: qsTr("Hover and capture image")
fact: missionItem.hoverAndCapture
visible: missionItem.hoverAndCaptureAllowed
}
} }
// Camera based grid ui // Camera based grid ui
...@@ -387,6 +381,23 @@ Rectangle { ...@@ -387,6 +381,23 @@ Rectangle {
} }
} }
FactCheckBox {
text: qsTr("Hover and capture image")
fact: missionItem.hoverAndCapture
visible: missionItem.hoverAndCaptureAllowed
onClicked: {
if (checked) {
missionItem.cameraTriggerInTurnaround.rawValue = false
}
}
}
FactCheckBox {
text: qsTr("Take images in turnarounds")
fact: missionItem.cameraTriggerInTurnaround
enabled: !missionItem.hoverAndCapture.rawValue
}
SectionHeader { SectionHeader {
id: gridHeader id: gridHeader
text: qsTr("Grid") text: qsTr("Grid")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment