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 ()
void suppressRebootMessageChanged ()

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 Fact * getParameterFact (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)
bool suppressRebootMessage () const
void setSuppressRebootMessage (bool suppress)

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

◆ ~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.

Referenced by servoCountChanged().

◆ servoCountChanged

void ServoOutputMonitorController::servoCountChanged ( int servoCount)
signal

References servoCount().

◆ 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: