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
85183ba1
Commit
85183ba1
authored
Jun 29, 2017
by
Mohammed Kabir
Committed by
Lorenz Meier
Jun 29, 2017
Browse files
GeoTagController : Handle logging dropouts correctly
parent
138f29fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/AnalyzeView/GeoTagController.cc
View file @
85183ba1
...
...
@@ -306,8 +306,15 @@ bool GeoTagWorker::triggerFiltering()
{
_imageIndices
.
clear
();
_triggerIndices
.
clear
();
for
(
int
i
=
0
;
i
<
_imageTime
.
count
()
&&
i
<
_triggerList
.
count
();
i
++
)
{
_imageIndices
.
append
(
i
);
if
(
_imageList
.
count
()
>
_triggerList
.
count
())
{
// Logging dropouts
qCDebug
(
GeotaggingLog
)
<<
"Detected missing feedback packets."
;
}
else
if
(
_imageList
.
count
()
<
_triggerList
.
count
())
{
// Camera skipped frames
qCDebug
(
GeotaggingLog
)
<<
"Detected missing image frames."
;
}
for
(
int
i
=
0
;
i
<
_imageList
.
count
()
&&
i
<
_triggerList
.
count
();
i
++
)
{
_imageIndices
.
append
(
_triggerList
[
i
].
imageSequence
);
_triggerIndices
.
append
(
i
);
}
...
...
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