dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
DTF boards support Plugin

Plugin to support DTF boards. More...

Namespaces

 Ui
 

Classes

class  Dtfc
 
class  DtfcConfiguration
 
class  DTFPlugin
 

Functions

 Dtfc::Dtfc ()
 Dtfc:Dtfc This is the DTFc board definition. More...
 
virtual Dtfc::~Dtfc ()
 
virtual QString Dtfc::shortName ()
 
virtual QString Dtfc::boardDescription ()
 
virtual bool Dtfc::queryCapabilities (BoardCapabilities capability)
 Return which capabilities this board has. More...
 
virtual QPixmap Dtfc::getBoardPicture ()
 getBoardPicture More...
 
virtual QString Dtfc::getHwUAVO ()
 
virtual int Dtfc::queryMaxGyroRate ()
 Query the board for the currently set max rate of the gyro. More...
 
virtual bool Dtfc::isInputConfigurationSupported (Core::IBoardType::InputType type)
 Determine if this board supports configuring the receiver. More...
 
virtual bool Dtfc::setInputType (Core::IBoardType::InputType type)
 
virtual Core::IBoardType::InputType Dtfc::getInputType ()
 getInputOnPort get the current input type More...
 
virtual QStringList Dtfc::getAdcNames ()
 
virtual QWidget * Dtfc::getBoardConfiguration (QWidget *parent, bool connected)
 getBoardConfiguration More...
 
virtual QString Dtfc::getConnectionDiagram ()
 getConnectionDiagram get the connection diagram for this board More...
 
virtual bool Dtfc::hasAnnunciator (AnnunciatorType annunc)
 Check if the board has the given type of annunciator. More...
 
 DtfcConfiguration::DtfcConfiguration (QWidget *parent=nullptr)
 
 DtfcConfiguration::~DtfcConfiguration ()
 

Detailed Description

Plugin to support DTF boards.

Function Documentation

QString Dtfc::boardDescription ( )
virtual

Long description of the board

Implements Core::IBoardType.

Definition at line 77 of file dtfc.cpp.

Dtfc::Dtfc ( void  )

Dtfc:Dtfc This is the DTFc board definition.

Definition at line 47 of file dtfc.cpp.

DtfcConfiguration::DtfcConfiguration ( QWidget *  parent = nullptr)
explicit

Definition at line 36 of file dtfcconfiguration.cpp.

QStringList Dtfc::getAdcNames ( )
virtual

Reimplemented from Core::IBoardType.

Definition at line 285 of file dtfc.cpp.

QWidget * Dtfc::getBoardConfiguration ( QWidget *  parent,
bool  connected 
)
virtual

getBoardConfiguration

Parameters
parentParent object
connectedUnused
Returns
Configuration widget handle or NULL on failure

Reimplemented from Core::IBoardType.

Definition at line 291 of file dtfc.cpp.

QPixmap Dtfc::getBoardPicture ( )
virtual

getBoardPicture

Returns
provides a picture for the board. Uploader gadget or configuration plugin can use this, for instance.
Todo:
this API is not stable yet.

Implements Core::IBoardType.

Definition at line 98 of file dtfc.cpp.

virtual QString Dtfc::getConnectionDiagram ( )
inlinevirtual

getConnectionDiagram get the connection diagram for this board

Returns
a string with the name of the resource for this board diagram

Reimplemented from Core::IBoardType.

Definition at line 80 of file dtfc.h.

QString Dtfc::getHwUAVO ( )
virtual

Get name of the HW Configuration UAVObject

Implements Core::IBoardType.

Definition at line 103 of file dtfc.cpp.

Core::IBoardType::InputType Dtfc::getInputType ( )
virtual

getInputOnPort get the current input type

Dtfc::getInputOnPort fetch the currently selected input type.

Returns
the currently selected input type
the selected input type

Reimplemented from Core::IBoardType.

Definition at line 179 of file dtfc.cpp.

bool Dtfc::hasAnnunciator ( AnnunciatorType  annunc)
virtual

Check if the board has the given type of annunciator.

Parameters
annuncAnnunciator type of interest
Returns
true if present

Reimplemented from Core::IBoardType.

Definition at line 297 of file dtfc.cpp.

bool Dtfc::isInputConfigurationSupported ( Core::IBoardType::InputType  type)
virtual

Determine if this board supports configuring the receiver.

Reimplemented from Core::IBoardType.

Definition at line 109 of file dtfc.cpp.

bool Dtfc::queryCapabilities ( BoardCapabilities  capability)
virtual

Return which capabilities this board has.

Implements Core::IBoardType.

Definition at line 83 of file dtfc.cpp.

int Dtfc::queryMaxGyroRate ( )
virtual

Query the board for the currently set max rate of the gyro.

Returns
max rate of gyro

Reimplemented from Core::IBoardType.

Definition at line 258 of file dtfc.cpp.

bool Dtfc::setInputType ( Core::IBoardType::InputType  type)
virtual

Configure the board to use an receiver input type on a port number

Parameters
typethe type of receiver to use

Configure the board to use a receiver input type on a port number

Parameters
typethe type of receiver to use
Returns
true if successfully configured or false otherwise

Reimplemented from Core::IBoardType.

Definition at line 127 of file dtfc.cpp.

QString Dtfc::shortName ( )
virtual

Short description of the board / friendly name

Implements Core::IBoardType.

Definition at line 72 of file dtfc.cpp.

Dtfc::~Dtfc ( )
virtual

Definition at line 68 of file dtfc.cpp.

DtfcConfiguration::~DtfcConfiguration ( )

Definition at line 52 of file dtfcconfiguration.cpp.