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
facc770e
Commit
facc770e
authored
Mar 01, 2015
by
Don Gagne
Browse files
Catch mag/dpress calibration complete
parent
677fff3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/AutoPilotPlugins/PX4/SensorsComponentController.cc
View file @
facc770e
...
...
@@ -232,6 +232,9 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
_progressBar
->
setProperty
(
"value"
,
1
);
_updateAndEmitGyroCalInProgress
(
false
);
_refreshParams
();
}
else
if
(
text
==
"mag calibration: done"
||
text
==
"dpress calibration: done"
)
{
_progressBar
->
setProperty
(
"value"
,
1
);
_refreshParams
();
}
else
if
(
text
.
endsWith
(
" calibration: failed"
))
{
QGCMessageBox
::
warning
(
"Calibration"
,
"Calibration failed. Calibration log will be displayed."
);
_hideAllCalAreas
();
...
...
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