QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
APMAirspeedComponent.h
Go to the documentation of this file.
1#pragma once
2
3#include "VehicleComponent.h"
4
6{
7 Q_OBJECT
8
9public:
10 APMAirspeedComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent = nullptr);
11
12 QStringList setupCompleteChangedTriggerList() const final { return QStringList(); }
13
14 QString name() const final { return _name; }
15 QString description() const final { return tr("Configure airspeed sensor type and calibration."); }
16 QString iconResource() const final { return QStringLiteral("/qmlimages/SensorsComponentIcon.png"); }
17 bool requiresSetup() const final { return false; }
18 bool setupComplete() const final { return true; }
19 QUrl setupSource() const final { return QUrl::fromUserInput(QStringLiteral("qrc:/qml/QGroundControl/AutoPilotPlugins/APM/APMAirspeedComponent.qml")); }
20 QUrl summaryQmlSource() const final { return QUrl::fromUserInput(QStringLiteral("qrc:/qml/QGroundControl/AutoPilotPlugins/APM/APMAirspeedComponentSummary.qml")); }
21 bool allowSetupWhileArmed() const final { return true; }
22
23private:
24 const QString _name = tr("Airspeed");
25};
bool requiresSetup() const final
QStringList setupCompleteChangedTriggerList() const final
bool allowSetupWhileArmed() const final
QString description() const final
QUrl setupSource() const final
QString name() const final
bool setupComplete() const final
QString iconResource() const final
QUrl summaryQmlSource() const final