|
|
|
@ -24,7 +24,7 @@
@@ -24,7 +24,7 @@
|
|
|
|
|
#include "px4_configuration/QGCPX4AirframeConfig.h" |
|
|
|
|
#include "px4_configuration/QGCPX4SensorCalibration.h" |
|
|
|
|
|
|
|
|
|
#ifdef QUPGRADE_SUPPORT |
|
|
|
|
#ifdef QGC_QUPGRADE_ENABLED |
|
|
|
|
#include <dialog_bare.h> |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
@ -59,9 +59,6 @@ QGCPX4VehicleConfig::QGCPX4VehicleConfig(QWidget *parent) :
@@ -59,9 +59,6 @@ QGCPX4VehicleConfig::QGCPX4VehicleConfig(QWidget *parent) :
|
|
|
|
|
calibrationEnabled(false), |
|
|
|
|
configEnabled(false), |
|
|
|
|
px4AirframeConfig(NULL), |
|
|
|
|
#ifdef QUPGRADE_SUPPORT |
|
|
|
|
firmwareDialog(NULL), |
|
|
|
|
#endif |
|
|
|
|
planeBack(":/files/images/px4/rc/cessna_back.png"), |
|
|
|
|
planeSide(":/files/images/px4/rc/cessna_side.png"), |
|
|
|
|
px4SensorCalibration(NULL), |
|
|
|
@ -102,8 +99,8 @@ QGCPX4VehicleConfig::QGCPX4VehicleConfig(QWidget *parent) :
@@ -102,8 +99,8 @@ QGCPX4VehicleConfig::QGCPX4VehicleConfig(QWidget *parent) :
|
|
|
|
|
px4SensorCalibration = new QGCPX4SensorCalibration(this); |
|
|
|
|
ui->sensorLayout->addWidget(px4SensorCalibration); |
|
|
|
|
|
|
|
|
|
#ifdef QUPGRADE_SUPPORT |
|
|
|
|
firmwareDialog = new DialogBare(this); |
|
|
|
|
#ifdef QGC_QUPGRADE_ENABLED |
|
|
|
|
DialogBare *firmwareDialog = new DialogBare(this); |
|
|
|
|
ui->firmwareLayout->addWidget(firmwareDialog); |
|
|
|
|
|
|
|
|
|
connect(firmwareDialog, SIGNAL(connectLinks()), LinkManager::instance(), SLOT(connectAll())); |
|
|
|
|