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

Plugin to support boards by the OP project. More...

Classes

class  OpenPilotPlugin
 
class  Revolution
 

Functions

 Revolution::Revolution ()
 Revolution::Revolution This is the Revolution board definition. More...
 
virtual Revolution::~Revolution ()
 
virtual QString Revolution::shortName ()
 
virtual QString Revolution::boardDescription ()
 
virtual int Revolution::minBootLoaderVersion ()
 Returns the minimum bootloader version required. More...
 
virtual bool Revolution::queryCapabilities (BoardCapabilities capability)
 Return which capabilities this board has. More...
 
virtual QPixmap Revolution::getBoardPicture ()
 getBoardPicture More...
 
virtual QString Revolution::getHwUAVO ()
 
HwRevolution * Revolution::getSettings ()
 Get the settings object. More...
 
virtual bool Revolution::isInputConfigurationSupported (Core::IBoardType::InputType type)
 Determine if this board supports configuring the receiver. More...
 
virtual bool Revolution::setInputType (Core::IBoardType::InputType type)
 
virtual Core::IBoardType::InputType Revolution::getInputType ()
 getInputType get the current input type More...
 
virtual QString Revolution::getConnectionDiagram ()
 getConnectionDiagram get the connection diagram for this board More...
 
virtual int Revolution::queryMaxGyroRate ()
 Query the board for the currently set max rate of the gyro. More...
 
virtual QStringList Revolution::getAdcNames ()
 
virtual bool Revolution::hasAnnunciator (AnnunciatorType annunc)
 Check if the board has the given type of annunciator. More...
 

Detailed Description

Plugin to support boards by the OP project.

Function Documentation

QString Revolution::boardDescription ( )
virtual

Long description of the board

Implements Core::IBoardType.

Definition at line 88 of file revolution.cpp.

QStringList Revolution::getAdcNames ( )
virtual

Reimplemented from Core::IBoardType.

Definition at line 319 of file revolution.cpp.

QPixmap Revolution::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 111 of file revolution.cpp.

virtual QString Revolution::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 67 of file revolution.h.

QString Revolution::getHwUAVO ( )
virtual

Get name of the HW Configuration UAVObject

Implements Core::IBoardType.

Definition at line 116 of file revolution.cpp.

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

getInputType get the current input type

Revolution::getInputType fetch the currently selected input type.

Returns
the currently selected input type
the selected input type

Reimplemented from Core::IBoardType.

Definition at line 206 of file revolution.cpp.

HwRevolution * Revolution::getSettings ( )

Get the settings object.

Definition at line 122 of file revolution.cpp.

bool Revolution::hasAnnunciator ( AnnunciatorType  annunc)
virtual

Check if the board has the given type of annunciator.

Parameters
annuncAnnunciator type of interest
Returns
true if present
Todo:
would be nice to have a distinct "revision" for this

Reimplemented from Core::IBoardType.

Definition at line 325 of file revolution.cpp.

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

Determine if this board supports configuring the receiver.

Reimplemented from Core::IBoardType.

Definition at line 133 of file revolution.cpp.

int Revolution::minBootLoaderVersion ( )
virtual

Returns the minimum bootloader version required.

Reimplemented from Core::IBoardType.

Definition at line 78 of file revolution.cpp.

bool Revolution::queryCapabilities ( BoardCapabilities  capability)
virtual

Return which capabilities this board has.

Implements Core::IBoardType.

Definition at line 94 of file revolution.cpp.

int Revolution::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 292 of file revolution.cpp.

Revolution::Revolution ( void  )

Revolution::Revolution This is the Revolution board definition.

Definition at line 46 of file revolution.cpp.

bool Revolution::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 150 of file revolution.cpp.

QString Revolution::shortName ( )
virtual

Short description of the board / friendly name

Implements Core::IBoardType.

Definition at line 83 of file revolution.cpp.

Revolution::~Revolution ( )
virtual

Definition at line 74 of file revolution.cpp.