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

Plugin to support AeroQuad boards. More...

Classes

class  AeroQuadPlugin
 
class  AQ32
 

Functions

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

Detailed Description

Plugin to support AeroQuad boards.

Function Documentation

AQ32::AQ32 ( void  )

AQ32::AQ32 This is the AQ32 board definition.

Definition at line 41 of file aq32.cpp.

QString AQ32::boardDescription ( )
virtual

Long description of the board

Implements Core::IBoardType.

Definition at line 73 of file aq32.cpp.

QStringList AQ32::getAdcNames ( )
virtual

Reimplemented from Core::IBoardType.

Definition at line 282 of file aq32.cpp.

QPixmap AQ32::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 95 of file aq32.cpp.

QString AQ32::getHwUAVO ( )
virtual

Get name of the HW Configuration UAVObject

Implements Core::IBoardType.

Definition at line 114 of file aq32.cpp.

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

getInputOnPort get the current input type

AQ32::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 177 of file aq32.cpp.

bool AQ32::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 307 of file aq32.cpp.

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

Determine if this board supports configuring the receiver.

Reimplemented from Core::IBoardType.

Definition at line 101 of file aq32.cpp.

bool AQ32::queryCapabilities ( BoardCapabilities  capability)
virtual

Return which capabilities this board has.

Implements Core::IBoardType.

Definition at line 79 of file aq32.cpp.

int AQ32::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 255 of file aq32.cpp.

bool AQ32::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 124 of file aq32.cpp.

QString AQ32::shortName ( )
virtual

Short description of the board / friendly name

Implements Core::IBoardType.

Definition at line 68 of file aq32.cpp.

AQ32::~AQ32 ( )
virtual

Definition at line 64 of file aq32.cpp.