QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GenericAutoPilotPlugin Class Reference

This is the generic implementation of the AutoPilotPlugin class for mavs we do not have a specific AutoPilotPlugin implementation. More...

#include <GenericAutoPilotPlugin.h>

+ Inheritance diagram for GenericAutoPilotPlugin:
+ Collaboration diagram for GenericAutoPilotPlugin:

Public Member Functions

 GenericAutoPilotPlugin (Vehicle *vehicle, QObject *parent=nullptr)
 
const QVariantList & vehicleComponents () final
 
QString prerequisiteSetup (VehicleComponent *component) const final
 Returns the name of the vehicle component which must complete setup prior to this one. Empty string for none.
 
- Public Member Functions inherited from AutoPilotPlugin
 AutoPilotPlugin (Vehicle *vehicle, QObject *parent=nullptr)
 < false: One or more vehicle components require setup
 
virtual ~AutoPilotPlugin ()
 
virtual void parametersReadyPreChecks ()
 
Q_INVOKABLE bool knownVehicleComponentAvailable (KnownVehicleComponent knownVehicleComponent)
 Returns true if the vehicle component is available for the vehicle. Customs build have different components.
 
Q_INVOKABLE VehicleComponentfindKnownVehicleComponent (KnownVehicleComponent knownVehicleComponent)
 Returns the VehicleComponent for the knownVehicleComponent. Returns nullptr if not available.
 
bool setupComplete () const
 

Additional Inherited Members

- Public Types inherited from AutoPilotPlugin
enum  KnownVehicleComponent {
  KnownRadioVehicleComponent , KnownFlightModesVehicleComponent , KnownSensorsVehicleComponent , KnownSafetyVehicleComponent ,
  KnownPowerVehicleComponent , KnownJoystickVehicleComponent , KnownESCVehicleComponent , UnknownVehicleComponent
}
 
- Signals inherited from AutoPilotPlugin
void setupCompleteChanged ()
 
void vehicleComponentsChanged ()
 
- Protected Attributes inherited from AutoPilotPlugin
Vehicle_vehicle = nullptr
 
FirmwarePlugin_firmwarePlugin = nullptr
 
bool _setupComplete = false
 

Detailed Description

This is the generic implementation of the AutoPilotPlugin class for mavs we do not have a specific AutoPilotPlugin implementation.

Definition at line 10 of file GenericAutoPilotPlugin.h.

Constructor & Destructor Documentation

◆ GenericAutoPilotPlugin()

GenericAutoPilotPlugin::GenericAutoPilotPlugin ( Vehicle vehicle,
QObject *  parent = nullptr 
)
explicit

Definition at line 4 of file GenericAutoPilotPlugin.cc.

Member Function Documentation

◆ prerequisiteSetup()

QString GenericAutoPilotPlugin::prerequisiteSetup ( VehicleComponent component) const
inlinefinalvirtual

Returns the name of the vehicle component which must complete setup prior to this one. Empty string for none.

Implements AutoPilotPlugin.

Definition at line 18 of file GenericAutoPilotPlugin.h.

◆ vehicleComponents()

const QVariantList & GenericAutoPilotPlugin::vehicleComponents ( void  )
finalvirtual

The documentation for this class was generated from the following files: