QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
APMMotorComponent.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
MotorComponent.h
"
4
5
class
APMMotorComponent
:
public
MotorComponent
6
{
7
Q_OBJECT
8
9
public
:
10
explicit
APMMotorComponent
(
Vehicle
*vehicle,
AutoPilotPlugin
*autopilot, QObject *parent =
nullptr
);
11
12
QUrl
setupSource
()
const
final
;
13
bool
allowSetupWhileArmed
() const final {
return
true
; }
14
15
private
:
16
const
QString _name = tr(
"Motors"
);
17
};
MotorComponent.h
APMMotorComponent
Definition
APMMotorComponent.h:6
APMMotorComponent::allowSetupWhileArmed
bool allowSetupWhileArmed() const final
Definition
APMMotorComponent.h:13
APMMotorComponent::setupSource
QUrl setupSource() const final
Definition
APMMotorComponent.cc:10
AutoPilotPlugin
Definition
AutoPilotPlugin.h:20
MotorComponent
Definition
MotorComponent.h:6
Vehicle
Definition
Vehicle.h:82
src
AutoPilotPlugins
APM
APMMotorComponent.h
Generated by
1.9.8