18 return tr(
"Configure battery parameters, ESC calibration, and UAVCAN bus settings.");
23 return "/qmlimages/Battery.svg";
47 return {
"BAT1_SOURCE",
"BAT1_V_CHARGED",
"BAT1_V_EMPTY",
"BAT1_N_CELLS"};
53 return QUrl::fromUserInput(
"qrc:/qml/QGroundControl/AutoPilotPlugins/PX4/PowerComponent.qml");
58 return QUrl::fromUserInput(
"qrc:/qml/QGroundControl/AutoPilotPlugins/PX4/PowerComponentSummary.qml");
63 return QStringLiteral(
":/qml/QGroundControl/AutoPilotPlugins/PX4/VehicleConfig/Power.VehicleConfig.json");
The AutoPilotPlugin class is an abstract base class which represents the methods and objects which ar...
QVariant rawValue() const
Value after translation.
bool parameterExists(int componentId, const QString ¶mName) const
Fact * getParameter(int componentId, const QString ¶mName)
static constexpr int defaultComponentId
QStringList setupCompleteChangedTriggerList(void) const override
QString name(void) const override
bool requiresSetup(void) const override
QString description(void) const override
bool setupComplete(void) const override
PowerComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent=nullptr)
QString vehicleConfigJson(void) const override
Resource path to a VehicleConfig.json page definition, or empty if none.
QUrl summaryQmlSource(void) const override
QUrl setupSource(void) const override
QString iconResource(void) const override
A vehicle component is an object which abstracts the physical portion of a vehicle into a set of conf...
ParameterManager * parameterManager()