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

Plugin to support Matek boards. More...

Classes

class  MATEK405
 
class  MatekPlugin
 

Functions

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

Detailed Description

Plugin to support Matek boards.

Function Documentation

QString MATEK405::boardDescription ( )
virtual

Long description of the board

Implements Core::IBoardType.

Definition at line 70 of file matek405.cpp.

QStringList MATEK405::getAdcNames ( )
virtual

Reimplemented from Core::IBoardType.

Definition at line 219 of file matek405.cpp.

QPixmap MATEK405::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 92 of file matek405.cpp.

QString MATEK405::getHwUAVO ( )
virtual

Get name of the HW Configuration UAVObject

Implements Core::IBoardType.

Definition at line 111 of file matek405.cpp.

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

getInputOnPort get the current input type

MATEK405::getInputType fetch the currently selected input type.

Parameters
port_numwhich input port to query (board specific numbering)
Returns
the currently selected input type
the selected input type

Reimplemented from Core::IBoardType.

Definition at line 174 of file matek405.cpp.

bool MATEK405::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 224 of file matek405.cpp.

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

Determine if this board supports configuring the receiver.

Reimplemented from Core::IBoardType.

Definition at line 98 of file matek405.cpp.

MATEK405::MATEK405 ( void  )

MATEK405::MATEK405 This is the MATEK405 board definition.

Definition at line 42 of file matek405.cpp.

bool MATEK405::queryCapabilities ( BoardCapabilities  capability)
virtual

Return which capabilities this board has.

Implements Core::IBoardType.

Definition at line 76 of file matek405.cpp.

int MATEK405::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 214 of file matek405.cpp.

bool MATEK405::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
port_numwhich input port to configure (board specific numbering)

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 121 of file matek405.cpp.

QString MATEK405::shortName ( )
virtual

Short description of the board / friendly name

Implements Core::IBoardType.

Definition at line 65 of file matek405.cpp.

MATEK405::~MATEK405 ( )
virtual

Definition at line 61 of file matek405.cpp.