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
53e85a51
Commit
53e85a51
authored
Apr 16, 2019
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
7a56aaea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
FixedWingLandingComplexItem.cc
src/MissionManager/FixedWingLandingComplexItem.cc
+6
-0
FWLandingPatternEditor.qml
src/PlanView/FWLandingPatternEditor.qml
+8
-3
No files found.
src/MissionManager/FixedWingLandingComplexItem.cc
View file @
53e85a51
...
...
@@ -100,6 +100,12 @@ FixedWingLandingComplexItem::FixedWingLandingComplexItem(Vehicle* vehicle, bool
connect
(
this
,
&
FixedWingLandingComplexItem
::
altitudesAreRelativeChanged
,
this
,
&
FixedWingLandingComplexItem
::
coordinateHasRelativeAltitudeChanged
);
connect
(
this
,
&
FixedWingLandingComplexItem
::
altitudesAreRelativeChanged
,
this
,
&
FixedWingLandingComplexItem
::
exitCoordinateHasRelativeAltitudeChanged
);
if
(
vehicle
->
apmFirmware
())
{
// ArduPilot does not support camera commands
_stopTakingVideoFact
.
setRawValue
(
false
);
_stopTakingPhotosFact
.
setRawValue
(
false
);
}
if
(
_valueSetIsDistanceFact
.
rawValue
().
toBool
())
{
_recalcFromHeadingAndDistanceChange
();
}
else
{
...
...
src/PlanView/FWLandingPatternEditor.qml
View file @
53e85a51
...
...
@@ -32,11 +32,15 @@ Rectangle {
//property real availableWidth ///< Width for control
//property var missionItem ///< Mission Item for editor
property
var
_masterControler
:
masterController
property
var
_missionController
:
_masterControler
.
missionController
property
var
_missionVehicle
:
_masterControler
.
controllerVehicle
property
real
_margin
:
ScreenTools
.
defaultFontPixelWidth
/
2
property
real
_spacer
:
ScreenTools
.
defaultFontPixelWidth
/
2
property
var
_activeVehicle
:
QGroundControl
.
multiVehicleManager
.
activeVehicle
property
string
_setToVehicleHeadingStr
:
qsTr
(
"
Set to vehicle heading
"
)
property
string
_setToVehicleLocationStr
:
qsTr
(
"
Set to vehicle location
"
)
property
bool
_showCameraSection
:
!
_missionVehicle
.
apmFirmware
ExclusiveGroup
{
id
:
distanceGlideGroup
}
...
...
@@ -168,13 +172,14 @@ Rectangle {
SectionHeader
{
id
:
cameraSection
text
:
qsTr
(
"
Camera
"
)
visible
:
_showCameraSection
}
Column
{
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
spacing
:
_margin
visible
:
cameraSection
.
checked
visible
:
_showCameraSection
&&
cameraSection
.
checked
Item
{
width
:
1
;
height
:
_spacer
}
...
...
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