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
dbcf8173
Unverified
Commit
dbcf8173
authored
Aug 21, 2020
by
Don Gagne
Committed by
GitHub
Aug 21, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9013 from DonLakeFlyer/PX4MagCal
PX4 Compass Cal: Support unlimited compasses
parents
4543866b
b0e79c0b
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
134 additions
and
120 deletions
+134
-120
SensorsComponentController.cc
src/AutoPilotPlugins/PX4/SensorsComponentController.cc
+2
-2
SensorsSetup.qml
src/AutoPilotPlugins/PX4/SensorsSetup.qml
+132
-117
HorizontalFactValueGrid.qml
src/QmlControls/HorizontalFactValueGrid.qml
+0
-1
No files found.
src/AutoPilotPlugins/PX4/SensorsComponentController.cc
View file @
dbcf8173
...
...
@@ -347,7 +347,7 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
if
(
text
.
endsWith
(
"orientation detected"
))
{
QString
side
=
text
.
section
(
" "
,
0
,
0
);
q
Debug
(
)
<<
"Side started"
<<
side
;
q
CDebug
(
SensorsComponentControllerLog
)
<<
"Side started"
<<
side
;
if
(
side
==
"down"
)
{
_orientationCalDownSideInProgress
=
true
;
...
...
@@ -394,7 +394,7 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
if
(
text
.
endsWith
(
"side done, rotate to a different side"
))
{
QString
side
=
text
.
section
(
" "
,
0
,
0
);
q
Debug
(
)
<<
"Side finished"
<<
side
;
q
CDebug
(
SensorsComponentControllerLog
)
<<
"Side finished"
<<
side
;
if
(
side
==
"down"
)
{
_orientationCalDownSideInProgress
=
false
;
...
...
src/AutoPilotPlugins/PX4/SensorsSetup.qml
View file @
dbcf8173
This diff is collapsed.
Click to expand it.
src/QmlControls/HorizontalFactValueGrid.qml
View file @
dbcf8173
...
...
@@ -109,7 +109,6 @@ T.HorizontalFactValueGrid {
for
(
var
i
=
0
;
i
<
valueRepeater
.
count
;
i
++
)
{
newMaxWidth
=
Math
.
max
(
newMaxWidth
,
valueRepeater
.
itemAt
(
0
).
contentWidth
)
}
console
.
log
(
"
recalcWidth
"
,
newMaxWidth
,
maxWidth
)
maxWidth
=
Math
.
min
(
maxWidth
,
newMaxWidth
)
}
...
...
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