34 #include "board_usb_ids.h"
69 return QString(
"Lux");
74 return QString(
"Lumenier Lux hardware by ReadError.");
94 return QPixmap(
":/brotronics/images/lux.png");
125 HwLux *hwLux = HwLux::GetInstance(uavoManager);
130 HwLux::DataFields settings = hwLux->getData();
137 settings.RxPort = HwLux::RXPORT_SBUS;
140 settings.RxPort = HwLux::RXPORT_SBUSNONINVERTED;
143 settings.RxPort = HwLux::RXPORT_DSM;
146 settings.RxPort = HwLux::RXPORT_HOTTSUMD;
149 settings.RxPort = HwLux::RXPORT_HOTTSUMH;
152 settings.RxPort = HwLux::RXPORT_IBUS;
155 settings.RxPort = HwLux::RXPORT_SRXL;
158 settings.RxPort = HwLux::RXPORT_TBSCROSSFIRE;
165 hwLux->setData(settings);
178 HwLux *hwLux = HwLux::GetInstance(uavoManager);
183 HwLux::DataFields settings = hwLux->getData();
185 switch (settings.RxPort) {
186 case HwLux::RXPORT_SBUS:
188 case HwLux::RXPORT_SBUSNONINVERTED:
190 case HwLux::RXPORT_DSM:
192 case HwLux::RXPORT_HOTTSUMD:
194 case HwLux::RXPORT_HOTTSUMH:
196 case HwLux::RXPORT_IBUS:
198 case HwLux::RXPORT_SRXL:
200 case HwLux::RXPORT_TBSCROSSFIRE:
206 switch (settings.Uart2) {
207 case HwLux::UART2_DSM:
209 case HwLux::UART2_SBUS:
211 case HwLux::UART2_SBUSNONINVERTED:
213 case HwLux::UART2_IBUS:
215 case HwLux::UART2_SRXL:
217 case HwLux::UART2_HOTTSUMD:
219 case HwLux::UART2_HOTTSUMH:
221 case HwLux::UART2_TBSCROSSFIRE:
227 switch (settings.Uart3) {
228 case HwLux::UART3_DSM:
230 case HwLux::UART3_SBUS:
232 case HwLux::UART3_SBUSNONINVERTED:
234 case HwLux::UART3_IBUS:
236 case HwLux::UART3_SRXL:
238 case HwLux::UART3_HOTTSUMD:
240 case HwLux::UART3_HOTTSUMH:
242 case HwLux::UART3_TBSCROSSFIRE:
255 HwLux *hwLux = HwLux::GetInstance(uavoManager);
260 HwLux::DataFields settings = hwLux->getData();
262 switch (settings.GyroRange) {
263 case HwLux::GYRORANGE_250:
265 case HwLux::GYRORANGE_500:
267 case HwLux::GYRORANGE_1000:
269 case HwLux::GYRORANGE_2000:
280 return QStringList() <<
"VBAT"
virtual QString getHwUAVO()
qint32 boardType
The numerical board type ID.
virtual QWidget * getBoardConfiguration(QWidget *parent, bool connected)
getBoardConfiguration
InputType
Types of input to configure for the default port.
virtual int queryMaxGyroRate()
Query the board for the currently set max rate of the gyro.
QVector< QVector< qint32 > > channelBanks
The channel groups that are driven by timers.
virtual bool setInputType(Core::IBoardType::InputType type)
Core plugin system that manages the plugins, their life cycle and their registered objects...
BoardCapabilities
Types of capabilities boards can support.
virtual bool queryCapabilities(BoardCapabilities capability)
Return which capabilities this board has.
void addFirmwareUSBInfo(USBInfo info)
void addBootloaderUSBInfo(USBInfo info)
virtual bool hasAnnunciator(AnnunciatorType annunc)
Check if the board has the given type of annunciator.
Lux()
Lux:Lux This is the Lux board definition.
virtual QPixmap getBoardPicture()
getBoardPicture
virtual Core::IBoardType::InputType getInputType()
getInputType get the current input type
virtual QString shortName()
virtual QString boardDescription()
virtual bool isInputConfigurationSupported(Core::IBoardType::InputType type)
Determine if this board supports configuring the receiver.
virtual QStringList getAdcNames()