14 Q_PROPERTY(
bool airspeedCalSupported READ _airspeedCalSupported STORED
false NOTIFY
setupCompleteChanged)
15 Q_PROPERTY(
bool airspeedCalRequired READ _airspeedCalRequired STORED
false NOTIFY
setupCompleteChanged)
21 virtual QString
name(
void)
const override;
37 bool _airspeedCalSupported (
void)
const;
38 bool _airspeedCalRequired (
void)
const;
39 bool _airspeedVehicle(
void)
const;
40 bool _airspeedLegacyFirmware(
void)
const;
41 bool _airspeedParamExists(
const char*
name)
const;
42 Fact* _airspeedParam(
const char*
name)
const;
45 QStringList _deviceIds;
47 static constexpr const char* _airspeedCalParam =
"SENS_DPRES_OFF";
48 static constexpr const char* _airspeedPresentParam =
"SYS_HAS_NUM_ASPD";
49 static constexpr const char* _airspeedModeParam =
"FW_ARSP_MODE";
50 static constexpr const char* _airspeedCheckBreakerParam =
"CBRK_AIRSPD_CHK";
51 static constexpr int _airspeedCheckBreakerDisabled = 162128;
52 static constexpr const char* _magEnabledParam =
"SYS_HAS_MAG";
53 static constexpr const char* _magCalParam =
"CAL_MAG0_ID";
The AutoPilotPlugin class is an abstract base class which represents the methods and objects which ar...
A Fact is used to hold a single value within the system.
virtual bool requiresSetup(void) const override
virtual int setupOrder() const override
QList< VehicleSummaryItem > summaryItems() const override
Values for this component's card on the Summary page. A component with none falls back to summaryQmlS...
virtual QUrl setupSource(void) const override
virtual QString iconResource(void) const override
virtual QUrl summaryQmlSource(void) const override
QStringList summaryChangedTriggerList() const override
Parameters whose change emits summaryItemsChanged, besides those that change setupComplete.
QStringList setupCompleteChangedTriggerList(void) const override
virtual bool setupComplete(void) const override
virtual QString name(void) const override
SensorsComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent=nullptr)
virtual QString description(void) const override
QStringList searchKeywords() const override
Translated search terms for the whole component, for pages without vehicleConfigJson() sections.
VehicleComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, AutoPilotPlugin::KnownVehicleComponent KnownVehicleComponent, QObject *parent=nullptr)
void setupCompleteChanged()