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
ea066b49
Commit
ea066b49
authored
Dec 27, 2016
by
Don Gagne
Committed by
GitHub
Dec 27, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4352 from DonLakeFlyer/LevelHorizon
Be a little less picky about level horizon
parents
b314f617
e9f0e6fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
SensorsComponent.qml
src/AutoPilotPlugins/PX4/SensorsComponent.qml
+3
-1
No files found.
src/AutoPilotPlugins/PX4/SensorsComponent.qml
View file @
ea066b49
...
@@ -97,6 +97,8 @@ SetupPage {
...
@@ -97,6 +97,8 @@ SetupPage {
property
Fact
sens_board_rot
:
controller
.
getParameterFact
(
-
1
,
"
SENS_BOARD_ROT
"
)
property
Fact
sens_board_rot
:
controller
.
getParameterFact
(
-
1
,
"
SENS_BOARD_ROT
"
)
property
Fact
sens_board_x_off
:
controller
.
getParameterFact
(
-
1
,
"
SENS_BOARD_X_OFF
"
)
property
Fact
sens_board_x_off
:
controller
.
getParameterFact
(
-
1
,
"
SENS_BOARD_X_OFF
"
)
property
Fact
sens_board_y_off
:
controller
.
getParameterFact
(
-
1
,
"
SENS_BOARD_Y_OFF
"
)
property
Fact
sens_board_z_off
:
controller
.
getParameterFact
(
-
1
,
"
SENS_BOARD_Z_OFF
"
)
property
Fact
sens_dpres_off
:
controller
.
getParameterFact
(
-
1
,
"
SENS_DPRES_OFF
"
)
property
Fact
sens_dpres_off
:
controller
.
getParameterFact
(
-
1
,
"
SENS_DPRES_OFF
"
)
// Id > = signals compass available, rot < 0 signals internal compass
// Id > = signals compass available, rot < 0 signals internal compass
...
@@ -372,7 +374,7 @@ SetupPage {
...
@@ -372,7 +374,7 @@ SetupPage {
id
:
levelButton
id
:
levelButton
width
:
parent
.
buttonWidth
width
:
parent
.
buttonWidth
text
:
qsTr
(
"
Level Horizon
"
)
text
:
qsTr
(
"
Level Horizon
"
)
indicatorGreen
:
sens_board_x_off
.
value
!=
0
indicatorGreen
:
sens_board_x_off
.
value
!=
0
||
sens_board_y_off
!=
0
|
sens_board_z_off
!=
0
enabled
:
cal_acc0_id
.
value
!=
0
&&
cal_gyro0_id
.
value
!=
0
enabled
:
cal_acc0_id
.
value
!=
0
&&
cal_gyro0_id
.
value
!=
0
onClicked
:
{
onClicked
:
{
...
...
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