Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
d5bbb07c
Commit
d5bbb07c
authored
Oct 22, 2018
by
Willian Galvani
Browse files
APMSafetyComponentSub.qml: Update to use new parameters
parent
ac5b943b
Changes
1
Show whitespace changes
Inline
Side-by-side
src/AutoPilotPlugins/APM/APMSafetyComponentSub.qml
View file @
d5bbb07c
...
...
@@ -39,7 +39,7 @@ SetupPage {
property
bool
_firmware34
:
_activeVehicle
.
firmwareMajorVersion
==
3
&&
_activeVehicle
.
firmwareMinorVersion
==
4
// Enable/Action parameters
property
Fact
_failsafeBatteryEnable
:
controller
.
getParameterFact
(
-
1
,
"
FS_
BATT_
ENABLE
"
)
property
Fact
_failsafeBatteryEnable
:
controller
.
getParameterFact
(
-
1
,
"
r.
BATT_
FS_LOW_ACT
"
)
property
Fact
_failsafeEKFEnable
:
controller
.
getParameterFact
(
-
1
,
"
FS_EKF_ACTION
"
)
property
Fact
_failsafeGCSEnable
:
controller
.
getParameterFact
(
-
1
,
"
FS_GCS_ENABLE
"
)
property
Fact
_failsafeLeakEnable
:
controller
.
getParameterFact
(
-
1
,
"
FS_LEAK_ENABLE
"
)
...
...
@@ -54,8 +54,8 @@ SetupPage {
property
Fact
_failsafeLeakPin
:
controller
.
getParameterFact
(
-
1
,
"
LEAK1_PIN
"
)
property
Fact
_failsafeLeakLogic
:
controller
.
getParameterFact
(
-
1
,
"
LEAK1_LOGIC
"
)
property
Fact
_failsafeEKFThreshold
:
controller
.
getParameterFact
(
-
1
,
"
FS_EKF_THRESH
"
)
property
Fact
_failsafeBatteryVoltage
:
controller
.
getParameterFact
(
-
1
,
"
FS_
BATT_VOLT
AGE
"
)
property
Fact
_failsafeBatteryCapacity
:
controller
.
getParameterFact
(
-
1
,
"
FS_
BATT_MAH
"
)
property
Fact
_failsafeBatteryVoltage
:
controller
.
getParameterFact
(
-
1
,
"
r.
BATT_
LOW_
VOLT
"
)
property
Fact
_failsafeBatteryCapacity
:
controller
.
getParameterFact
(
-
1
,
"
r.
BATT_
LOW_
MAH
"
)
property
Fact
_armingCheck
:
controller
.
getParameterFact
(
-
1
,
"
ARMING_CHECK
"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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