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
5a8b346d
Commit
5a8b346d
authored
Dec 13, 2015
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
APM GeoFence and Failsafe Triggers
parent
58eeb933
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
280 additions
and
3 deletions
+280
-3
APMSafetyComponentCopter.qml
src/AutoPilotPlugins/APM/APMSafetyComponentCopter.qml
+260
-3
APMSafetyComponentSummaryCopter.qml
src/AutoPilotPlugins/APM/APMSafetyComponentSummaryCopter.qml
+20
-0
No files found.
src/AutoPilotPlugins/APM/APMSafetyComponentCopter.qml
View file @
5a8b346d
This diff is collapsed.
Click to expand it.
src/AutoPilotPlugins/APM/APMSafetyComponentSummaryCopter.qml
View file @
5a8b346d
...
...
@@ -14,6 +14,10 @@ FactPanel {
QGCPalette
{
id
:
qgcPal
;
colorGroupEnabled
:
enabled
}
FactPanelController
{
id
:
controller
;
factPanel
:
panel
}
property
Fact
_fenceAction
:
controller
.
getParameterFact
(
-
1
,
"
FENCE_ACTION
"
)
property
Fact
_fenceEnable
:
controller
.
getParameterFact
(
-
1
,
"
FENCE_ENABLE
"
)
property
Fact
_fenceType
:
controller
.
getParameterFact
(
-
1
,
"
FENCE_TYPE
"
)
property
Fact
_rtlAltFact
:
controller
.
getParameterFact
(
-
1
,
"
RTL_ALT
"
)
property
Fact
_rtlLoitTimeFact
:
controller
.
getParameterFact
(
-
1
,
"
RTL_LOIT_TIME
"
)
property
Fact
_rtlAltFinalFact
:
controller
.
getParameterFact
(
-
1
,
"
RTL_ALT_FINAL
"
)
...
...
@@ -23,6 +27,22 @@ FactPanel {
anchors.fill
:
parent
anchors.margins
:
8
VehicleSummaryRow
{
labelText
:
"
GeoFence:
"
valueText
:
_fenceEnable
.
value
==
0
||
_fenceType
==
0
?
"
Disabled
"
:
(
_fenceType
.
value
==
1
?
"
Altitude
"
:
(
_fenceType
.
value
==
2
?
"
Circle
"
:
"
Altitude,Circle
"
))
}
VehicleSummaryRow
{
labelText
:
"
GeoFence:
"
valueText
:
_fenceAction
.
value
==
0
?
"
Report only
"
:
(
_fenceAction
.
value
==
1
?
"
RTL or Land
"
:
"
Unknown
"
)
}
VehicleSummaryRow
{
labelText
:
"
RTL min alt:
"
valueText
:
_rtlAltFact
.
value
==
0
?
"
current
"
:
_rtlAltFact
.
valueString
...
...
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