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

Plugin to support Brotronics boards. More...

Namespaces

 Ui
 

Classes

class  BrotronicsPlugin
 
class  Lux
 
class  LuxConfiguration
 

Functions

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

Detailed Description

Plugin to support Brotronics boards.

Function Documentation

QString Lux::boardDescription ( )
virtual

Long description of the board

Implements Core::IBoardType.

Definition at line 72 of file lux.cpp.

QStringList Lux::getAdcNames ( )
virtual

Reimplemented from Core::IBoardType.

Definition at line 278 of file lux.cpp.

QWidget * Lux::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 285 of file lux.cpp.

QPixmap Lux::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 lux.cpp.

virtual QString Lux::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 65 of file lux.h.

QString Lux::getHwUAVO ( )
virtual

Get name of the HW Configuration UAVObject

Implements Core::IBoardType.

Definition at line 97 of file lux.cpp.

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

getInputType get the current input type

Lux::getInputType fetch the currently selected input type.

Returns
the currently selected input type
the selected input type

Reimplemented from Core::IBoardType.

Definition at line 174 of file lux.cpp.

bool Lux::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 291 of file lux.cpp.

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

Determine if this board supports configuring the receiver.

Reimplemented from Core::IBoardType.

Definition at line 103 of file lux.cpp.

Lux::Lux ( void  )

Lux:Lux This is the Lux board definition.

Definition at line 43 of file lux.cpp.

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

Definition at line 32 of file luxconfiguration.cpp.

bool Lux::queryCapabilities ( BoardCapabilities  capability)
virtual

Return which capabilities this board has.

Implements Core::IBoardType.

Definition at line 78 of file lux.cpp.

int Lux::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 251 of file lux.cpp.

bool Lux::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 121 of file lux.cpp.

QString Lux::shortName ( )
virtual

Short description of the board / friendly name

Implements Core::IBoardType.

Definition at line 67 of file lux.cpp.

Lux::~Lux ( )
virtual

Definition at line 63 of file lux.cpp.

LuxConfiguration::~LuxConfiguration ( )

Definition at line 48 of file luxconfiguration.cpp.