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

#include <ServoOutputMonitorController.h>

+ Inheritance diagram for ServoOutputMonitorController:
+ Collaboration diagram for ServoOutputMonitorController:

Signals

void servoCountChanged (int servoCount)
 
void servoValueChanged (int servo, int pwmValue)
 
- Signals inherited from FactPanelController
void missingParametersAvailable ()
 

Public Member Functions

 ServoOutputMonitorController (QObject *parent=nullptr)
 
 ~ServoOutputMonitorController ()
 
int servoCount () const
 
Q_INVOKABLE int servoValue (int servoIndex) const
 Servo index is 0..15 (SERVO1..SERVO16)
 
- Public Member Functions inherited from FactPanelController
 FactPanelController (QObject *parent=nullptr)
 
virtual ~FactPanelController ()
 
Q_INVOKABLE FactgetParameterFact (int componentId, const QString &name, bool reportMissing=true) const
 
Q_INVOKABLE bool parameterExists (int componentId, const QString &name) const
 
Q_INVOKABLE void getMissingParameters (const QStringList &rgNames)
 

Additional Inherited Members

- Protected Member Functions inherited from FactPanelController
bool _allParametersExists (int componentId, const QStringList &names) const
 
void _reportMissingParameter (int componentId, const QString &name) const
 Report a missing parameter.
 
- Protected Attributes inherited from FactPanelController
Vehicle_vehicle = nullptr
 

Detailed Description

Definition at line 7 of file ServoOutputMonitorController.h.

Constructor & Destructor Documentation

◆ ServoOutputMonitorController()

ServoOutputMonitorController::ServoOutputMonitorController ( QObject *  parent = nullptr)
explicit

Definition at line 8 of file ServoOutputMonitorController.cc.

References Vehicle::servoOutputsChanged().

◆ ~ServoOutputMonitorController()

ServoOutputMonitorController::~ServoOutputMonitorController ( )

Definition at line 14 of file ServoOutputMonitorController.cc.

Member Function Documentation

◆ servoCount()

int ServoOutputMonitorController::servoCount ( ) const
inline

Definition at line 17 of file ServoOutputMonitorController.h.

◆ servoCountChanged

void ServoOutputMonitorController::servoCountChanged ( int  servoCount)
signal

◆ servoValue()

int ServoOutputMonitorController::servoValue ( int  servoIndex) const

Servo index is 0..15 (SERVO1..SERVO16)

Definition at line 18 of file ServoOutputMonitorController.cc.

◆ servoValueChanged

void ServoOutputMonitorController::servoValueChanged ( int  servo,
int  pwmValue 
)
signal

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