diff --git a/src/AnalyzeView/GeoTagController.cc b/src/AnalyzeView/GeoTagController.cc index 97079d67c6a490f9987e0eb06b228e9da97218ae..33ee123fc3f81901b8c32c4a7afe0f583828bb49 100644 --- a/src/AnalyzeView/GeoTagController.cc +++ b/src/AnalyzeView/GeoTagController.cc @@ -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); }