QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
ULogParser.h
Go to the documentation of this file.
1#pragma once
2
3#include "GeoTagData.h"
4
5#include <QtCore/QByteArray>
6#include <QtCore/QList>
7#include <QtCore/QLoggingCategory>
8#include <QtCore/QString>
9
10#include <ulog_cpp/subscription.hpp>
11
12Q_DECLARE_LOGGING_CATEGORY(ULogParserLog)
13
14namespace ULogParser {
15
19GeoTagData parseGeoTagData(const ulog_cpp::TypedDataView &sample);
20
27bool getTagsFromLog(const char *data, qint64 size, QList<GeoTagData> &cameraFeedback, QString &errorMessage);
28
31inline bool getTagsFromLog(const QByteArray &log, QList<GeoTagData> &cameraFeedback, QString &errorMessage)
32{
33 return getTagsFromLog(log.constData(), log.size(), cameraFeedback, errorMessage);
34}
35
36} // namespace ULogParser
Q_DECLARE_LOGGING_CATEGORY(AndroidSerialLog)
GeoTagData parseGeoTagData(const ulog_cpp::TypedDataView &sample)
Definition ULogParser.cc:11
bool getTagsFromLog(const char *data, qint64 size, QList< GeoTagData > &cameraFeedback, QString &errorMessage)
Definition ULogParser.cc:57