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
801aa5d0
Commit
801aa5d0
authored
Oct 25, 2018
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
513c261b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
APMSafetyComponentSummary.qml
src/AutoPilotPlugins/APM/APMSafetyComponentSummary.qml
+1
-1
APMSensorsComponent.qml
src/AutoPilotPlugins/APM/APMSensorsComponent.qml
+4
-1
No files found.
src/AutoPilotPlugins/APM/APMSafetyComponentSummary.qml
View file @
801aa5d0
...
...
@@ -43,7 +43,7 @@ FactPanel {
VehicleSummaryRow
{
labelText
:
qsTr
(
"
Throttle failsafe:
"
)
valueText
:
F
act
.
enumStringValue
valueText
:
f
act
.
enumStringValue
visible
:
controller
.
vehicle
.
multiRotor
property
Fact
fact
:
controller
.
getParameterFact
(
-
1
,
"
FS_THR_ENABLE
"
,
false
/* reportMissing */
)
...
...
src/AutoPilotPlugins/APM/APMSensorsComponent.qml
View file @
801aa5d0
...
...
@@ -79,6 +79,9 @@ SetupPage {
property
int
_orientationDialogCalType
property
var
_activeVehicle
:
QGroundControl
.
multiVehicleManager
.
activeVehicle
property
real
_margins
:
ScreenTools
.
defaultFontPixelHeight
/
2
property
bool
_compassAutoRotAvailable
:
controller
.
parameterExists
(
-
1
,
"
COMPASS_AUTO_ROT
"
)
property
Fact
_compassAutoRotFact
:
controller
.
getParameterFact
(
-
1
,
"
COMPASS_AUTO_ROT
"
,
false
/* reportMissing */
)
property
bool
_compassAutoRot
:
_compassAutoRotAvailable
?
_compassAutoRotFact
.
rawValue
==
2
:
false
function
showOrientationsDialog
(
calType
)
{
var
dialogTitle
...
...
@@ -346,7 +349,7 @@ SetupPage {
}
Column
{
visible
:
sensorParams
.
rgCompassExternal
[
index
]
&&
sensorParams
.
rgCompassRotParamAvailable
[
index
]
visible
:
!
_compassAutoRot
&&
sensorParams
.
rgCompassExternal
[
index
]
&&
sensorParams
.
rgCompassRotParamAvailable
[
index
]
QGCLabel
{
text
:
qsTr
(
"
Orientation:
"
)
}
...
...
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