Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
e12fbcfa
Commit
e12fbcfa
authored
Apr 20, 2019
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
b0a1524d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
20 deletions
+28
-20
CameraCalc.qml
src/PlanView/CameraCalc.qml
+6
-3
CorridorScanEditor.qml
src/PlanView/CorridorScanEditor.qml
+6
-5
StructureScanEditor.qml
src/PlanView/StructureScanEditor.qml
+10
-7
SurveyItemEditor.qml
src/PlanView/SurveyItemEditor.qml
+6
-5
No files found.
src/PlanView/CameraCalc.qml
View file @
e12fbcfa
...
...
@@ -15,8 +15,9 @@ Column {
spacing
:
_margin
property
var
cameraCalc
property
bool
vehicleFlightIsFrontal
:
true
property
bool
vehicleFlightIsFrontal
:
true
property
string
distanceToSurfaceLabel
property
int
distanceToSurfaceAltitudeMode
:
QGroundControl
.
AltitudeModeNone
property
string
frontalDistanceLabel
property
string
sideDistanceLabel
...
...
@@ -226,8 +227,9 @@ Column {
onClicked
:
cameraCalc
.
valueSetIsDistance
.
value
=
1
}
FactTextField
{
Altitude
FactTextField
{
fact
:
cameraCalc
.
distanceToSurface
altitudeMode
:
distanceToSurfaceAltitudeMode
enabled
:
fixedDistanceRadio
.
checked
Layout.fillWidth
:
true
}
...
...
@@ -285,8 +287,9 @@ Column {
visible
:
cameraCalc
.
isManualCamera
QGCLabel
{
text
:
distanceToSurfaceLabel
}
FactTextField
{
Altitude
FactTextField
{
fact
:
cameraCalc
.
distanceToSurface
altitudeMode
:
distanceToSurfaceAltitudeMode
Layout.fillWidth
:
true
}
...
...
src/PlanView/CorridorScanEditor.qml
View file @
e12fbcfa
...
...
@@ -67,11 +67,12 @@ Rectangle {
CameraCalc
{
cameraCalc
:
missionItem
.
cameraCalc
vehicleFlightIsFrontal
:
true
distanceToSurfaceLabel
:
qsTr
(
"
Altitude
"
)
frontalDistanceLabel
:
qsTr
(
"
Trigger Distance
"
)
sideDistanceLabel
:
qsTr
(
"
Spacing
"
)
cameraCalc
:
missionItem
.
cameraCalc
vehicleFlightIsFrontal
:
true
distanceToSurfaceLabel
:
qsTr
(
"
Altitude
"
)
distanceToSurfaceAltitudeMode
:
missionItem
.
followTerrain
?
QGroundControl
.
AltitudeModeAboveTerrain
:
QGroundControl
.
AltitudeModeRelative
frontalDistanceLabel
:
qsTr
(
"
Trigger Dist
"
)
sideDistanceLabel
:
qsTr
(
"
Spacing
"
)
}
SectionHeader
{
...
...
src/PlanView/StructureScanEditor.qml
View file @
e12fbcfa
...
...
@@ -75,11 +75,12 @@ Rectangle {
}
CameraCalc
{
cameraCalc
:
missionItem
.
cameraCalc
vehicleFlightIsFrontal
:
false
distanceToSurfaceLabel
:
qsTr
(
"
Scan Distance
"
)
frontalDistanceLabel
:
qsTr
(
"
Layer Height
"
)
sideDistanceLabel
:
qsTr
(
"
Trigger Distance
"
)
cameraCalc
:
missionItem
.
cameraCalc
vehicleFlightIsFrontal
:
false
distanceToSurfaceLabel
:
qsTr
(
"
Scan Distance
"
)
distanceToSurfaceAltitudeMode
:
QGroundControl
.
AltitudeModeNone
frontalDistanceLabel
:
qsTr
(
"
Layer Height
"
)
sideDistanceLabel
:
qsTr
(
"
Trigger Distance
"
)
}
SectionHeader
{
...
...
@@ -117,14 +118,16 @@ Rectangle {
}
QGCLabel
{
text
:
qsTr
(
"
Scan Bottom Alt
"
)
}
FactTextField
{
Altitude
FactTextField
{
fact
:
missionItem
.
scanBottomAlt
altitudeMode
:
QGroundControl
.
AltitudeModeRelative
Layout.fillWidth
:
true
}
QGCLabel
{
text
:
qsTr
(
"
Entrance/Exit Alt
"
)
}
FactTextField
{
Altitude
FactTextField
{
fact
:
missionItem
.
entranceAlt
altitudeMode
:
QGroundControl
.
AltitudeModeRelative
Layout.fillWidth
:
true
}
...
...
src/PlanView/SurveyItemEditor.qml
View file @
e12fbcfa
...
...
@@ -67,11 +67,12 @@ Rectangle {
}
CameraCalc
{
cameraCalc
:
missionItem
.
cameraCalc
vehicleFlightIsFrontal
:
true
distanceToSurfaceLabel
:
qsTr
(
"
Altitude
"
)
frontalDistanceLabel
:
qsTr
(
"
Trigger Distance
"
)
sideDistanceLabel
:
qsTr
(
"
Spacing
"
)
cameraCalc
:
missionItem
.
cameraCalc
vehicleFlightIsFrontal
:
true
distanceToSurfaceLabel
:
qsTr
(
"
Altitude
"
)
distanceToSurfaceAltitudeMode
:
missionItem
.
followTerrain
?
QGroundControl
.
AltitudeModeAboveTerrain
:
QGroundControl
.
AltitudeModeRelative
frontalDistanceLabel
:
qsTr
(
"
Trigger Dist
"
)
sideDistanceLabel
:
qsTr
(
"
Spacing
"
)
}
SectionHeader
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment