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

Plugin to support boards by BrainFPV LLC. More...

Namespaces

 Ui
 

Classes

class  Brain
 
class  BrainConfiguration
 
class  BrainFPVPlugin
 
class  BrainRE1Configuration
 

Functions

 Brain::Brain ()
 Brain::Brain This is the Brain board definition. More...
 
virtual Brain::~Brain ()
 
virtual QString Brain::shortName ()
 
virtual QString Brain::boardDescription ()
 
virtual int Brain::minBootLoaderVersion ()
 Returns the minimum bootloader version required. More...
 
virtual bool Brain::queryCapabilities (BoardCapabilities capability)
 Return which capabilities this board has. More...
 
virtual QPixmap Brain::getBoardPicture ()
 getBoardPicture More...
 
virtual QString Brain::getHwUAVO ()
 
virtual bool Brain::isInputConfigurationSupported (Core::IBoardType::InputType type)
 Determine if this board supports configuring the receiver. More...
 
virtual bool Brain::setInputType (Core::IBoardType::InputType type)
 
virtual Core::IBoardType::InputType Brain::getInputType ()
 getInputType get the current input type More...
 
virtual int Brain::queryMaxGyroRate ()
 Query the board for the currently set max rate of the gyro. More...
 
virtual QWidget * Brain::getBoardConfiguration (QWidget *parent, bool connected)
 Return a custom configuration widget, if one is provided. More...
 
virtual QStringList Brain::getAdcNames ()
 
virtual bool Brain::hasAnnunciator (AnnunciatorType annunc)
 Check if the board has the given type of annunciator. More...
 
 BrainConfiguration::BrainConfiguration (QWidget *parent=nullptr)
 
 BrainConfiguration::~BrainConfiguration ()
 
 BrainRE1Configuration::BrainRE1Configuration (QWidget *parent=nullptr)
 
 BrainRE1Configuration::~BrainRE1Configuration ()
 

Detailed Description

Plugin to support boards by BrainFPV LLC.

Function Documentation

QString Brain::boardDescription ( )
virtual

Long description of the board

Implements Core::IBoardType.

Definition at line 78 of file brain.cpp.

Brain::Brain ( void  )

Brain::Brain This is the Brain board definition.

Definition at line 42 of file brain.cpp.

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

Definition at line 35 of file brainconfiguration.cpp.

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

Definition at line 37 of file brainre1configuration.cpp.

QStringList Brain::getAdcNames ( )
virtual

Reimplemented from Core::IBoardType.

Definition at line 304 of file brain.cpp.

QWidget * Brain::getBoardConfiguration ( QWidget *  ,
bool   
)
virtual

Return a custom configuration widget, if one is provided.

Reimplemented from Core::IBoardType.

Definition at line 298 of file brain.cpp.

QPixmap Brain::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 101 of file brain.cpp.

QString Brain::getHwUAVO ( )
virtual

Get name of the HW Configuration UAVObject

Implements Core::IBoardType.

Definition at line 106 of file brain.cpp.

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

getInputType get the current input type

Brain::getInputType fetch the currently selected input type.

Returns
the currently selected input type
the selected input type

Reimplemented from Core::IBoardType.

Definition at line 185 of file brain.cpp.

bool Brain::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 311 of file brain.cpp.

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

Determine if this board supports configuring the receiver.

Reimplemented from Core::IBoardType.

Definition at line 112 of file brain.cpp.

int Brain::minBootLoaderVersion ( )
virtual

Returns the minimum bootloader version required.

Reimplemented from Core::IBoardType.

Definition at line 68 of file brain.cpp.

bool Brain::queryCapabilities ( BoardCapabilities  capability)
virtual

Return which capabilities this board has.

Implements Core::IBoardType.

Definition at line 84 of file brain.cpp.

int Brain::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 271 of file brain.cpp.

bool Brain::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 129 of file brain.cpp.

QString Brain::shortName ( )
virtual

Short description of the board / friendly name

Implements Core::IBoardType.

Definition at line 73 of file brain.cpp.

Brain::~Brain ( )
virtual

Definition at line 64 of file brain.cpp.

BrainConfiguration::~BrainConfiguration ( )

Definition at line 70 of file brainconfiguration.cpp.

BrainRE1Configuration::~BrainRE1Configuration ( )

Definition at line 93 of file brainre1configuration.cpp.