QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
PX4AirframeLoader.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtCore/QObject>
4#include <QtCore/QMap>
5#include <QtCore/QLoggingCategory>
6
8
9Q_DECLARE_LOGGING_CATEGORY(PX4AirframeLoaderLog)
10
11class FactMetaData;
12
14
15class PX4AirframeLoader : QObject
16{
17 Q_OBJECT
18
19public:
21 PX4AirframeLoader(AutoPilotPlugin* autpilot, QObject* parent = nullptr);
22
23 static void loadAirframeMetaData(void);
24
26 static QString aiframeMetaDataFile(void);
27
28private:
29 enum {
30 XmlStateNone,
31 XmlStateFoundAirframes,
32 XmlStateFoundVersion,
33 XmlStateFoundGroup,
34 XmlStateFoundAirframe,
35 XmlStateDone
36 };
37
38 static bool _airframeMetaDataLoaded;
39 static QMap<QString, FactMetaData*> _mapParameterName2FactMetaData;
40};
Q_DECLARE_LOGGING_CATEGORY(AndroidSerialLog)
Collection of Parameter Facts for PX4 AutoPilot.
static void loadAirframeMetaData(void)
static QString aiframeMetaDataFile(void)