QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
LogViewerULogParser.h
Go to the documentation of this file.
1#pragma once
2
4
5#include <QtCore/QString>
6
7// Free-function parser for PX4 ULog (.ulg) files.
8// Returns a filled LogParseResult on success (result.ok == true) or an error
9// message in result.errorMessage on failure.
10namespace ULogParser {
11 LogParseResult parseFile(const QString &filePath, const ProgressCallback &progressCallback = nullptr, const CancelToken &cancelToken = nullptr);
12}
std::function< void(float)> ProgressCallback
std::shared_ptr< std::atomic< bool > > CancelToken
LogParseResult parseFile(const QString &filePath, const ProgressCallback &progressCallback, const CancelToken &cancelToken)