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
af9784c4
Commit
af9784c4
authored
Apr 19, 2019
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
c0ea93e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
6 deletions
+22
-6
FWLandingPatternEditor.qml
src/PlanView/FWLandingPatternEditor.qml
+22
-6
No files found.
src/PlanView/FWLandingPatternEditor.qml
View file @
af9784c4
...
...
@@ -41,6 +41,7 @@ Rectangle {
property
string
_setToVehicleHeadingStr
:
qsTr
(
"
Set to vehicle heading
"
)
property
string
_setToVehicleLocationStr
:
qsTr
(
"
Set to vehicle location
"
)
property
bool
_showCameraSection
:
!
_missionVehicle
.
apmFirmware
property
int
_altitudeMode
:
missionItem
.
altitudesAreRelative
?
QGroundControl
.
AltitudeModeRelative
:
QGroundControl
.
AltitudeModeAbsolute
ExclusiveGroup
{
id
:
distanceGlideGroup
}
...
...
@@ -66,11 +67,25 @@ Rectangle {
Item
{
width
:
1
;
height
:
_spacer
}
FactTextFieldGrid
{
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
factList
:
[
missionItem
.
loiterAltitude
,
missionItem
.
loiterRadius
]
factLabels
:
[
qsTr
(
"
Altitude
"
),
qsTr
(
"
Radius
"
)
]
GridLayout
{
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
columns
:
2
QGCLabel
{
text
:
qsTr
(
"
Altitude
"
)
}
AltitudeFactTextField
{
Layout.fillWidth
:
true
fact
:
missionItem
.
loiterAltitude
altitudeMode
:
_altitudeMode
}
QGCLabel
{
text
:
qsTr
(
"
Radius
"
)
}
FactTextField
{
Layout.fillWidth
:
true
fact
:
missionItem
.
loiterRadius
}
}
Item
{
width
:
1
;
height
:
_spacer
}
...
...
@@ -115,9 +130,10 @@ Rectangle {
QGCLabel
{
text
:
qsTr
(
"
Altitude
"
)
}
FactTextField
{
Altitude
FactTextField
{
Layout.fillWidth
:
true
fact
:
missionItem
.
landingAltitude
altitudeMode
:
_altitudeMode
}
QGCRadioButton
{
...
...
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