QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
APMPowerComponent.cc
Go to the documentation of this file.
1#include "APMPowerComponent.h"
2#include "Vehicle.h"
3
4APMPowerComponent::APMPowerComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent)
5 : VehicleComponent(vehicle, autopilot, AutoPilotPlugin::KnownPowerVehicleComponent, parent)
6{
7
8}
9
11{
12 return QStringLiteral(":/qml/QGroundControl/AutoPilotPlugins/APM/VehicleConfig/APMPower.VehicleConfig.json");
13}
14
16{
17 // Generated from APMPower.VehicleConfig.json
18 return QUrl::fromUserInput(QStringLiteral("qrc:/qml/QGroundControl/AutoPilotPlugins/APM/APMPowerComponent.qml"));
19}
QUrl setupSource() const final
QString vehicleConfigJson() const final
Resource path to a VehicleConfig.json page definition, or empty if none.
APMPowerComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent=nullptr)
The AutoPilotPlugin class is an abstract base class which represents the methods and objects which ar...
A vehicle component is an object which abstracts the physical portion of a vehicle into a set of conf...