mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP-885 Added and replaced some artwork for Revolution board and other.
This commit is contained in:
parent
bfad23355e
commit
a697f293b6
@ -1561,6 +1561,17 @@
|
|||||||
<enableVbo>false</enableVbo>
|
<enableVbo>false</enableVbo>
|
||||||
</data>
|
</data>
|
||||||
</CC3D>
|
</CC3D>
|
||||||
|
<Revolution>
|
||||||
|
<configInfo>
|
||||||
|
<locked>false</locked>
|
||||||
|
<version>0.0.0</version>
|
||||||
|
</configInfo>
|
||||||
|
<data>
|
||||||
|
<acFilename>%%DATAPATH%%models/boards/Revolution/revolution.3ds</acFilename>
|
||||||
|
<bgFilename>%%DATAPATH%%models/backgrounds/default_background.png</bgFilename>
|
||||||
|
<enableVbo>false</enableVbo>
|
||||||
|
</data>
|
||||||
|
</Revolution>
|
||||||
<Easyquad__PCT__20X>
|
<Easyquad__PCT__20X>
|
||||||
<configInfo>
|
<configInfo>
|
||||||
<locked>false</locked>
|
<locked>false</locked>
|
||||||
|
@ -9,7 +9,7 @@ equals(copydata, 1) {
|
|||||||
for(dir, DATACOLLECTIONS) {
|
for(dir, DATACOLLECTIONS) {
|
||||||
exists($$GCS_SOURCE_TREE/share/openpilotgcs/$$dir) {
|
exists($$GCS_SOURCE_TREE/share/openpilotgcs/$$dir) {
|
||||||
macx:data_copy.commands += $(COPY_DIR) $$targetPath(\"$$GCS_SOURCE_TREE/share/openpilotgcs/$$dir\") $$targetPath(\"$$GCS_DATA_PATH/\") $$addNewline()
|
macx:data_copy.commands += $(COPY_DIR) $$targetPath(\"$$GCS_SOURCE_TREE/share/openpilotgcs/$$dir\") $$targetPath(\"$$GCS_DATA_PATH/\") $$addNewline()
|
||||||
win32:data_copy.commands += $(COPY_DIR) $$targetPath(\"$$GCS_SOURCE_TREE/share/openpilotgcs/$$dir\") $$targetPath(\"$$GCS_DATA_PATH/\") $$addNewline()
|
win32:data_copy.commands += $(COPY_DIR) $$targetPath(\"$$GCS_SOURCE_TREE/share/openpilotgcs/$$dir\") $$targetPath(\"$$GCS_DATA_PATH/$$dir\") $$addNewline()
|
||||||
unix:data_copy.commands += $(MKDIR) $$targetPath(\"$$GCS_DATA_PATH/$$dir\") $$addNewline()
|
unix:data_copy.commands += $(MKDIR) $$targetPath(\"$$GCS_DATA_PATH/$$dir\") $$addNewline()
|
||||||
unix:data_copy.commands += $(COPY_DIR) $$targetPath(\"$$GCS_SOURCE_TREE/share/openpilotgcs/$$dir\") $$targetPath(\"$$GCS_DATA_PATH/\") $$addNewline()
|
unix:data_copy.commands += $(COPY_DIR) $$targetPath(\"$$GCS_SOURCE_TREE/share/openpilotgcs/$$dir\") $$targetPath(\"$$GCS_DATA_PATH/\") $$addNewline()
|
||||||
}
|
}
|
||||||
|
@ -95,7 +95,7 @@ void deviceWidget::populate()
|
|||||||
devicePic.load("");//TODO
|
devicePic.load("");//TODO
|
||||||
break;
|
break;
|
||||||
case 0x0301:
|
case 0x0301:
|
||||||
devicePic.load(":/uploader/images/pipx.png");
|
devicePic.load(":/uploader/images/gcs-board-oplink.png");
|
||||||
break;
|
break;
|
||||||
case 0x0401:
|
case 0x0401:
|
||||||
devicePic.load(":/uploader/images/gcs-board-cc.png");
|
devicePic.load(":/uploader/images/gcs-board-cc.png");
|
||||||
@ -103,7 +103,11 @@ void deviceWidget::populate()
|
|||||||
case 0x0402:
|
case 0x0402:
|
||||||
devicePic.load(":/uploader/images/gcs-board-cc3d.png");
|
devicePic.load(":/uploader/images/gcs-board-cc3d.png");
|
||||||
break;
|
break;
|
||||||
|
case 0x0903:
|
||||||
|
devicePic.load(":/uploader/images/gcs-board-revo.png");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
|
devicePic.load(""); //Clear
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
myDevice->gVDevice->scene()->addPixmap(devicePic);
|
myDevice->gVDevice->scene()->addPixmap(devicePic);
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>576</width>
|
<width>584</width>
|
||||||
<height>500</height>
|
<height>500</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@ -24,12 +24,18 @@
|
|||||||
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGraphicsView" name="gVDevice">
|
<widget class="QGraphicsView" name="gVDevice">
|
||||||
<property name="maximumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>160</width>
|
<width>160</width>
|
||||||
<height>160</height>
|
<height>160</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>350</width>
|
||||||
|
<height>350</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background: transparent</string>
|
<string notr="true">background: transparent</string>
|
||||||
</property>
|
</property>
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 237 KiB |
Binary file not shown.
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 242 KiB |
Binary file not shown.
After Width: | Height: | Size: 232 KiB |
Binary file not shown.
After Width: | Height: | Size: 352 KiB |
@ -59,7 +59,6 @@ void runningDeviceWidget::resizeEvent(QResizeEvent* event)
|
|||||||
*/
|
*/
|
||||||
void runningDeviceWidget::populate()
|
void runningDeviceWidget::populate()
|
||||||
{
|
{
|
||||||
|
|
||||||
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
||||||
UAVObjectUtilManager* utilMngr = pm->getObject<UAVObjectUtilManager>();
|
UAVObjectUtilManager* utilMngr = pm->getObject<UAVObjectUtilManager>();
|
||||||
int id = utilMngr->getBoardModel();
|
int id = utilMngr->getBoardModel();
|
||||||
@ -81,7 +80,7 @@ void runningDeviceWidget::populate()
|
|||||||
devicePic.load("");//TODO
|
devicePic.load("");//TODO
|
||||||
break;
|
break;
|
||||||
case 0x0301:
|
case 0x0301:
|
||||||
devicePic.load(":/uploader/images/pipx.png");
|
devicePic.load(":/uploader/images/gcs-board-oplink.png");
|
||||||
break;
|
break;
|
||||||
case 0x0401:
|
case 0x0401:
|
||||||
devicePic.load(":/uploader/images/gcs-board-cc.png");
|
devicePic.load(":/uploader/images/gcs-board-cc.png");
|
||||||
@ -89,7 +88,11 @@ void runningDeviceWidget::populate()
|
|||||||
case 0x0402:
|
case 0x0402:
|
||||||
devicePic.load(":/uploader/images/gcs-board-cc3d.png");
|
devicePic.load(":/uploader/images/gcs-board-cc3d.png");
|
||||||
break;
|
break;
|
||||||
|
case 0x0903:
|
||||||
|
devicePic.load(":/uploader/images/gcs-board-revo.png");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
|
devicePic.load(""); //Clear
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
myDevice->devicePicture->scene()->addPixmap(devicePic);
|
myDevice->devicePicture->scene()->addPixmap(devicePic);
|
||||||
@ -97,65 +100,33 @@ void runningDeviceWidget::populate()
|
|||||||
myDevice->devicePicture->fitInView(devicePic.rect(),Qt::KeepAspectRatio);
|
myDevice->devicePicture->fitInView(devicePic.rect(),Qt::KeepAspectRatio);
|
||||||
|
|
||||||
QString serial = utilMngr->getBoardCPUSerial().toHex();
|
QString serial = utilMngr->getBoardCPUSerial().toHex();
|
||||||
myDevice->CPUSerial->setText(serial);
|
myDevice->CPUSerial->setText(serial);
|
||||||
|
|
||||||
QByteArray description = utilMngr->getBoardDescription();
|
QByteArray description = utilMngr->getBoardDescription();
|
||||||
deviceDescriptorStruct devDesc;
|
deviceDescriptorStruct devDesc;
|
||||||
if(UAVObjectUtilManager::descriptionToStructure(description,devDesc))
|
if(UAVObjectUtilManager::descriptionToStructure(description, devDesc)) {
|
||||||
{
|
if(devDesc.gitTag.startsWith("RELEASE",Qt::CaseSensitive)) {
|
||||||
if(devDesc.gitTag.startsWith("RELEASE",Qt::CaseSensitive))
|
myDevice->lblFWTag->setText(QString("Firmware tag: ") + devDesc.gitTag);
|
||||||
{
|
|
||||||
myDevice->lblFWTag->setText(QString("Firmware tag: ")+devDesc.gitTag);
|
|
||||||
QPixmap pix = QPixmap(QString(":uploader/images/application-certificate.svg"));
|
QPixmap pix = QPixmap(QString(":uploader/images/application-certificate.svg"));
|
||||||
myDevice->lblCertified->setPixmap(pix);
|
myDevice->lblCertified->setPixmap(pix);
|
||||||
myDevice->lblCertified->setToolTip(tr("Tagged officially released firmware build"));
|
myDevice->lblCertified->setToolTip(tr("Tagged officially released firmware build"));
|
||||||
|
|
||||||
}
|
} else {
|
||||||
else
|
myDevice->lblFWTag->setText(QString("Firmware tag: ") + devDesc.gitTag);
|
||||||
{
|
|
||||||
myDevice->lblFWTag->setText(QString("Firmware tag: ")+devDesc.gitTag);
|
|
||||||
QPixmap pix = QPixmap(QString(":uploader/images/warning.svg"));
|
QPixmap pix = QPixmap(QString(":uploader/images/warning.svg"));
|
||||||
myDevice->lblCertified->setPixmap(pix);
|
myDevice->lblCertified->setPixmap(pix);
|
||||||
myDevice->lblCertified->setToolTip(tr("Untagged or custom firmware build"));
|
myDevice->lblCertified->setToolTip(tr("Untagged or custom firmware build"));
|
||||||
}
|
}
|
||||||
myDevice->lblGitCommitTag->setText("Git commit hash: "+devDesc.gitHash);
|
myDevice->lblGitCommitTag->setText("Git commit hash: " + devDesc.gitHash);
|
||||||
myDevice->lblFWDate->setText(QString("Firmware date: ") + devDesc.gitDate.insert(4,"-").insert(7,"-"));
|
myDevice->lblFWDate->setText(QString("Firmware date: ") + devDesc.gitDate.insert(4,"-").insert(7,"-"));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
myDevice->lblFWTag->setText(QString("Firmware tag: ") + QString(description).left(QString(description).indexOf(QChar(255))));
|
||||||
myDevice->lblFWTag->setText(QString("Firmware tag: ")+QString(description).left(QString(description).indexOf(QChar(255))));
|
|
||||||
myDevice->lblGitCommitTag->setText("Git commit tag: Unknown");
|
myDevice->lblGitCommitTag->setText("Git commit tag: Unknown");
|
||||||
myDevice->lblFWDate->setText(QString("Firmware date: Unknown"));
|
myDevice->lblFWDate->setText(QString("Firmware date: Unknown"));
|
||||||
QPixmap pix = QPixmap(QString(":uploader/images/warning.svg"));
|
QPixmap pix = QPixmap(QString(":uploader/images/warning.svg"));
|
||||||
myDevice->lblCertified->setPixmap(pix);
|
myDevice->lblCertified->setPixmap(pix);
|
||||||
myDevice->lblCertified->setToolTip(tr("Custom Firmware Build"));
|
myDevice->lblCertified->setToolTip(tr("Custom Firmware Build"));
|
||||||
}
|
}
|
||||||
//status("Ready...", STATUSICON_INFO);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
Updates status message
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
void runningDeviceWidget::status(QString str, StatusIcon ic)
|
|
||||||
{
|
|
||||||
QPixmap px;
|
|
||||||
myDevice->statusLabel->setText(str);
|
|
||||||
switch (ic) {
|
|
||||||
case STATUSICON_RUNNING:
|
|
||||||
px.load(QString(":/uploader/images/system-run.svg"));
|
|
||||||
break;
|
|
||||||
case STATUSICON_OK:
|
|
||||||
px.load(QString(":/uploader/images/dialog-apply.svg"));
|
|
||||||
break;
|
|
||||||
case STATUSICON_FAIL:
|
|
||||||
px.load(QString(":/uploader/images/process-stop.svg"));
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
px.load(QString(":/uploader/images/gtk-info.svg"));
|
|
||||||
}
|
|
||||||
myDevice->statusIcon->setPixmap(px);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>516</width>
|
<width>561</width>
|
||||||
<height>299</height>
|
<height>387</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
@ -22,12 +22,18 @@
|
|||||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGraphicsView" name="devicePicture">
|
<widget class="QGraphicsView" name="devicePicture">
|
||||||
<property name="maximumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>160</width>
|
<width>160</width>
|
||||||
<height>160</height>
|
<height>160</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>350</width>
|
||||||
|
<height>350</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background: transparent</string>
|
<string notr="true">background: transparent</string>
|
||||||
</property>
|
</property>
|
||||||
@ -43,12 +49,21 @@
|
|||||||
<property name="horizontalScrollBarPolicy">
|
<property name="horizontalScrollBarPolicy">
|
||||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="renderHints">
|
||||||
|
<set>QPainter::Antialiasing|QPainter::HighQualityAntialiasing|QPainter::SmoothPixmapTransform|QPainter::TextAntialiasing</set>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="lblBoardName">
|
<widget class="QLabel" name="lblBoardName">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>TextLabel</string>
|
<string>TextLabel</string>
|
||||||
</property>
|
</property>
|
||||||
@ -56,6 +71,12 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="lblDeviceID">
|
<widget class="QLabel" name="lblDeviceID">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>TextLabel</string>
|
<string>TextLabel</string>
|
||||||
</property>
|
</property>
|
||||||
@ -63,6 +84,12 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="lblHWRev">
|
<widget class="QLabel" name="lblHWRev">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>TextLabel</string>
|
<string>TextLabel</string>
|
||||||
</property>
|
</property>
|
||||||
@ -72,6 +99,12 @@
|
|||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="lblCPU">
|
<widget class="QLabel" name="lblCPU">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>CPU Serial:</string>
|
<string>CPU Serial:</string>
|
||||||
</property>
|
</property>
|
||||||
@ -79,6 +112,12 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLineEdit" name="CPUSerial">
|
<widget class="QLineEdit" name="CPUSerial">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
<property name="readOnly">
|
<property name="readOnly">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
@ -86,8 +125,34 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="verticalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>40</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -16,5 +16,7 @@
|
|||||||
<file>images/gcs-board-cc.png</file>
|
<file>images/gcs-board-cc.png</file>
|
||||||
<file>images/gcs-board-cc3d.png</file>
|
<file>images/gcs-board-cc3d.png</file>
|
||||||
<file>images/pipx.png</file>
|
<file>images/pipx.png</file>
|
||||||
|
<file>images/gcs-board-oplink.png</file>
|
||||||
|
<file>images/gcs-board-revo.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
@ -175,7 +175,7 @@ halting a running board.</string>
|
|||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab">
|
<widget class="QWidget" name="defaultTab">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>Mainboard</string>
|
<string>Mainboard</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
@ -186,14 +186,14 @@ halting a running board.</string>
|
|||||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
p, li { white-space: pre-wrap; }
|
p, li { white-space: pre-wrap; }
|
||||||
</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;">
|
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">To upgrade the firmware in your boards, proceed as follows:</p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu'; font-size:11pt;">To upgrade the firmware in your boards, proceed as follows:</span></p>
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Ubuntu'; font-size:11pt;"><br /></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- Connect telemetry</p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu'; font-size:11pt;">- Connect telemetry</span></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- Once telemetry is running, press &quot;Halt&quot; above</p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu'; font-size:11pt;">- Once telemetry is running, press &quot;Halt&quot; above</span></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- You will get a list of devices.</p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu'; font-size:11pt;">- You will get a list of devices.</span></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- You can then upload/download to/from each board as you wish</p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu'; font-size:11pt;">- You can then upload/download to/from each board as you wish</span></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- You can resume operations by pressing &quot;Boot&quot;</p></body></html></string>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu'; font-size:11pt;">- You can resume operations by pressing &quot;Boot&quot;</span></p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -208,8 +208,8 @@ p, li { white-space: pre-wrap; }
|
|||||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
p, li { white-space: pre-wrap; }
|
p, li { white-space: pre-wrap; }
|
||||||
</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;">
|
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html></string>
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Ubuntu'; font-size:11pt;"><br /></p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -147,7 +147,7 @@ void UploaderGadgetWidget::onPhisicalHWConnect()
|
|||||||
Enables widget buttons if autopilot connected
|
Enables widget buttons if autopilot connected
|
||||||
*/
|
*/
|
||||||
void UploaderGadgetWidget::onAutopilotConnect(){
|
void UploaderGadgetWidget::onAutopilotConnect(){
|
||||||
QTimer::singleShot(1000,this,SLOT(populate()));
|
QTimer::singleShot(1000, this, SLOT(populate()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void UploaderGadgetWidget::populate()
|
void UploaderGadgetWidget::populate()
|
||||||
@ -175,6 +175,7 @@ void UploaderGadgetWidget::populate()
|
|||||||
Enables widget buttons if autopilot disconnected
|
Enables widget buttons if autopilot disconnected
|
||||||
*/
|
*/
|
||||||
void UploaderGadgetWidget::onAutopilotDisconnect(){
|
void UploaderGadgetWidget::onAutopilotDisconnect(){
|
||||||
|
|
||||||
m_config->haltButton->setEnabled(false);
|
m_config->haltButton->setEnabled(false);
|
||||||
m_config->resetButton->setEnabled(false);
|
m_config->resetButton->setEnabled(false);
|
||||||
m_config->bootButton->setEnabled(true);
|
m_config->bootButton->setEnabled(true);
|
||||||
@ -188,7 +189,6 @@ void UploaderGadgetWidget::onAutopilotDisconnect(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Tell the mainboard to go to bootloader:
|
Tell the mainboard to go to bootloader:
|
||||||
- Send the relevant IAP commands
|
- Send the relevant IAP commands
|
||||||
|
Loading…
Reference in New Issue
Block a user