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

#include <seppuku.h>

Inheritance diagram for Seppuku:
Core::IBoardType

Public Member Functions

 Seppuku ()
 Seppuku:Seppuku This is the Seppuku board definition. More...
 
virtual ~Seppuku ()
 
virtual QString shortName () override
 
virtual QString boardDescription () override
 
virtual bool queryCapabilities (BoardCapabilities capability) override
 Query capabilities of the board. More...
 
virtual QPixmap getBoardPicture () override
 getBoardPicture More...
 
virtual QString getHwUAVO () override
 
virtual bool isInputConfigurationSupported (Core::IBoardType::InputType type) override
 Determine if this board supports configuring the receiver. More...
 
virtual bool setInputType (Core::IBoardType::InputType type) override
 Configure the board to use an receiver input type on a port number. More...
 
virtual Core::IBoardType::InputType getInputType () override
 getInputType get the current input type More...
 
virtual int queryMaxGyroRate () override
 Query the board for the currently set max rate of the gyro. More...
 
virtual QStringList getAdcNames () override
 
virtual QString getConnectionDiagram () override
 getConnectionDiagram get the connection diagram for this board More...
 
virtual QWidget * getBoardConfiguration (QWidget *parent, bool connected) override
 Return a custom configuration widget, if one is provided. More...
 
virtual bool hasAnnunciator (AnnunciatorType annunc) override
 Check if the board has the given type of annunciator. More...
 
virtual int onBoardRgbLeds () const override
 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...
 
- Public Member Functions inherited from Core::IBoardType
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 int minBootLoaderVersion ()
 Returns the minimum bootloader version required. More...
 
virtual bool isUSBSupported ()
 
int getBankFromOutputChannel (int channel)
 
QList< USBInfofirmwareUSBInfo ()
 getFirmwareUSBInfo More...
 
QList< USBInfobootloaderUSBInfo ()
 getBootloaderUSBInfo 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 36 of file seppuku.h.

Member Function Documentation

virtual int Seppuku::onBoardRgbLeds ( ) const
inlineoverridevirtual

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.

Returns
Number of RGB LEDs on the PCB

Reimplemented from Core::IBoardType.

Definition at line 55 of file seppuku.h.


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