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
d3174b1c
Commit
d3174b1c
authored
Dec 27, 2016
by
Don Gagne
Browse files
Bug fix
parent
465999bf
Changes
1
Show whitespace changes
Inline
Side-by-side
src/AutoPilotPlugins/APM/APMSensorsComponentController.cc
View file @
d3174b1c
...
...
@@ -243,7 +243,7 @@ void APMSensorsComponentController::_mavCommandResult(int vehicleId, int compone
qCDebug
(
APMSensorsComponentControllerLog
)
<<
"Performing onboard compass cal for compass 2"
;
}
else
{
_rgCompassCalComplete
[
1
]
=
true
;
_rgCompassCalSucceeded
[
1
]
=
MAG_CAL_SUCCESS
;
_rgCompassCalSucceeded
[
1
]
=
true
;
_rgCompassCalFitness
[
1
]
=
0
;
}
if
(
getParameterFact
(
FactSystem
::
defaultComponentId
,
"COMPASS_DEV_ID3"
)
->
rawValue
().
toInt
()
>
0
)
{
...
...
@@ -251,7 +251,7 @@ void APMSensorsComponentController::_mavCommandResult(int vehicleId, int compone
qCDebug
(
APMSensorsComponentControllerLog
)
<<
"Performing onboard compass cal for compass 3"
;
}
else
{
_rgCompassCalComplete
[
2
]
=
true
;
_rgCompassCalSucceeded
[
2
]
=
MAG_CAL_SUCCESS
;
_rgCompassCalSucceeded
[
2
]
=
true
;
_rgCompassCalFitness
[
2
]
=
0
;
}
...
...
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