dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Sparky Class Reference

#include <sparky.h>

Inheritance diagram for Sparky:
Core::IBoardType

Public Member Functions

 Sparky ()
 Sparky::Sparky This is the Sparky board definition. More...
 
virtual ~Sparky ()
 
virtual QString shortName ()
 
virtual QString boardDescription ()
 
virtual bool queryCapabilities (BoardCapabilities capability)
 Return which capabilities this board has. More...
 
virtual QPixmap getBoardPicture ()
 getBoardPicture More...
 
virtual QString getHwUAVO ()
 
virtual bool isInputConfigurationSupported (Core::IBoardType::InputType type)
 Determine if this board supports configuring the receiver. More...
 
virtual bool setInputType (Core::IBoardType::InputType type)
 
virtual Core::IBoardType::InputType getInputType ()
 getInputType get the current input type More...
 
virtual QString getConnectionDiagram ()
 getConnectionDiagram get the connection diagram for this board More...
 
virtual int queryMaxGyroRate ()
 Query the board for the currently set max rate of the gyro. More...
 
virtual QStringList getAdcNames ()
 
virtual bool hasAnnunciator (AnnunciatorType annunc)
 Check if the board has the given type of annunciator. More...
 
- Public Member Functions inherited from Core::IBoardType
virtual bool queryCapabilities (BoardCapabilities capability)=0
 Query capabilities of the board. More...
 
virtual QStringList queryChannelBanks ()
 Query number & names of output PWM channels banks on the board. More...
 
virtual QVector< QVector< int > > getChannelBanks ()
 Get banks of output PWM channels banks on the board. More...
 
QList< int > getVendorIDs ()
 
int getBoardType ()
 Get the board type number. More...
 
virtual QWidget * getBoardConfiguration (QWidget *=nullptr, bool=true)
 Return a custom configuration widget, if one is provided. More...
 
virtual int minBootLoaderVersion ()
 Returns the minimum bootloader version required. More...
 
virtual bool isUSBSupported ()
 
int getBankFromOutputChannel (int channel)
 
QList< USBInfofirmwareUSBInfo ()
 getFirmwareUSBInfo More...
 
QList< USBInfobootloaderUSBInfo ()
 getBootloaderUSBInfo More...
 
virtual int onBoardRgbLeds () const
 Number of RGB LEDs located on the board The first n LEDs in the chain will apply to on-board LEDs rather than external ones. More...
 

Additional Inherited Members

- Public Types inherited from Core::IBoardType
enum  BoardCapabilities {
  BOARD_CAPABILITIES_GYROS, BOARD_CAPABILITIES_ACCELS, BOARD_CAPABILITIES_MAGS, BOARD_CAPABILITIES_BAROS,
  BOARD_CAPABILITIES_RADIO, BOARD_CAPABILITIES_OSD, BOARD_CAPABILITIES_UPGRADEABLE
}
 Types of capabilities boards can support. More...
 
enum  InputType {
  INPUT_TYPE_DISABLED, INPUT_TYPE_PWM, INPUT_TYPE_PPM, INPUT_TYPE_DSM,
  INPUT_TYPE_SBUS, INPUT_TYPE_SBUSNONINVERTED, INPUT_TYPE_HOTTSUMD, INPUT_TYPE_HOTTSUMH,
  INPUT_TYPE_IBUS, INPUT_TYPE_SRXL, INPUT_TYPE_TBSCROSSFIRE, INPUT_TYPE_UNKNOWN,
  INPUT_TYPE_ANY
}
 Types of input to configure for the default port. More...
 
enum  AnnunciatorType {
  ANNUNCIATOR_HEARTBEAT = 1 << 0, ANNUNCIATOR_ALARM = 1 << 1, ANNUNCIATOR_BUZZER = 1 << 2, ANNUNCIATOR_RGB = 1 << 3,
  ANNUNCIATOR_DAC = 1 << 4
}
 
enum  LinkMode { LINK_TELEM, LINK_TELEM_PPM, LINK_PPM }
 
- Static Public Member Functions inherited from Core::IBoardType
static QString getBoardNameFromID (int id)
 
- Protected Types inherited from Core::IBoardType
enum  BcdDevice { BCD_DEVICE_BOOTLOADER = 1, BCD_DEVICE_FIRMWARE = 2, BCD_DEVICE_UPGRADER = 3 }
 
- Protected Member Functions inherited from Core::IBoardType
void addFirmwareUSBInfo (USBInfo info)
 
void addBootloaderUSBInfo (USBInfo info)
 
- Protected Attributes inherited from Core::IBoardType
QList< USBInfom_firmwareUSBInfo
 
QList< USBInfom_bootloaderUSBInfo
 
qint32 boardType
 The numerical board type ID. More...
 
QVector< QVector< qint32 > > channelBanks
 The channel groups that are driven by timers. More...
 

Detailed Description

Definition at line 31 of file sparky.h.


The documentation for this class was generated from the following files: