Browse Source

Option to take images in turnarounds

QGC4.4
DonLakeFlyer 8 years ago
parent
commit
6f0516bde2
  1. 2
      src/MissionManager/Survey.SettingsGroup.json
  2. 23
      src/PlanView/SurveyItemEditor.qml

2
src/MissionManager/Survey.SettingsGroup.json

@ -132,7 +132,7 @@ @@ -132,7 +132,7 @@
"name": "CameraTriggerInTurnaround",
"shortDescription": "Camera continues taking images in turnarounds.",
"type": "bool",
"defaultValue": false
"defaultValue": true
},
{
"name": "HoverAndCapture",

23
src/PlanView/SurveyItemEditor.qml

@ -252,12 +252,6 @@ Rectangle { @@ -252,12 +252,6 @@ Rectangle {
enabled: cameraTriggerDistanceCheckBox.checked
}
}
FactCheckBox {
text: qsTr("Hover and capture image")
fact: missionItem.hoverAndCapture
visible: missionItem.hoverAndCaptureAllowed
}
}
// 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 {
id: gridHeader
text: qsTr("Grid")

Loading…
Cancel
Save