Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
7d757374
Commit
7d757374
authored
Jun 04, 2017
by
DonLakeFlyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove incomplete Mixers page
parent
b3fe4b6b
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
0 additions
and
157 deletions
+0
-157
qgroundcontrol.pro
qgroundcontrol.pro
+0
-2
qgroundcontrol.qrc
qgroundcontrol.qrc
+0
-1
APMAutoPilotPlugin.cc
src/AutoPilotPlugins/APM/APMAutoPilotPlugin.cc
+0
-6
APMAutoPilotPlugin.h
src/AutoPilotPlugins/APM/APMAutoPilotPlugin.h
+0
-2
MixersComponent.cc
src/AutoPilotPlugins/Common/MixersComponent.cc
+0
-57
MixersComponent.h
src/AutoPilotPlugins/Common/MixersComponent.h
+0
-41
MixersComponent.qml
src/AutoPilotPlugins/Common/MixersComponent.qml
+0
-38
PX4AutoPilotPlugin.cc
src/AutoPilotPlugins/PX4/PX4AutoPilotPlugin.cc
+0
-8
PX4AutoPilotPlugin.h
src/AutoPilotPlugins/PX4/PX4AutoPilotPlugin.h
+0
-2
No files found.
qgroundcontrol.pro
View file @
7d757374
...
@@ -819,7 +819,6 @@ HEADERS+= \
...
@@ -819,7 +819,6 @@ HEADERS+= \
src
/
AutoPilotPlugins
/
AutoPilotPlugin
.
h
\
src
/
AutoPilotPlugins
/
AutoPilotPlugin
.
h
\
src
/
AutoPilotPlugins
/
Common
/
ESP8266Component
.
h
\
src
/
AutoPilotPlugins
/
Common
/
ESP8266Component
.
h
\
src
/
AutoPilotPlugins
/
Common
/
ESP8266ComponentController
.
h
\
src
/
AutoPilotPlugins
/
Common
/
ESP8266ComponentController
.
h
\
src
/
AutoPilotPlugins
/
Common
/
MixersComponent
.
h
\
src
/
AutoPilotPlugins
/
Common
/
MotorComponent
.
h
\
src
/
AutoPilotPlugins
/
Common
/
MotorComponent
.
h
\
src
/
AutoPilotPlugins
/
Common
/
RadioComponentController
.
h
\
src
/
AutoPilotPlugins
/
Common
/
RadioComponentController
.
h
\
src
/
AutoPilotPlugins
/
Common
/
SyslinkComponent
.
h
\
src
/
AutoPilotPlugins
/
Common
/
SyslinkComponent
.
h
\
...
@@ -844,7 +843,6 @@ SOURCES += \
...
@@ -844,7 +843,6 @@ SOURCES += \
src
/
AutoPilotPlugins
/
AutoPilotPlugin
.
cc
\
src
/
AutoPilotPlugins
/
AutoPilotPlugin
.
cc
\
src
/
AutoPilotPlugins
/
Common
/
ESP8266Component
.
cc
\
src
/
AutoPilotPlugins
/
Common
/
ESP8266Component
.
cc
\
src
/
AutoPilotPlugins
/
Common
/
ESP8266ComponentController
.
cc
\
src
/
AutoPilotPlugins
/
Common
/
ESP8266ComponentController
.
cc
\
src
/
AutoPilotPlugins
/
Common
/
MixersComponent
.
cc
\
src
/
AutoPilotPlugins
/
Common
/
MotorComponent
.
cc
\
src
/
AutoPilotPlugins
/
Common
/
MotorComponent
.
cc
\
src
/
AutoPilotPlugins
/
Common
/
RadioComponentController
.
cc
\
src
/
AutoPilotPlugins
/
Common
/
RadioComponentController
.
cc
\
src
/
AutoPilotPlugins
/
Common
/
SyslinkComponent
.
cc
\
src
/
AutoPilotPlugins
/
Common
/
SyslinkComponent
.
cc
\
...
...
qgroundcontrol.qrc
View file @
7d757374
...
@@ -41,7 +41,6 @@
...
@@ -41,7 +41,6 @@
<file alias="MainWindowNative.qml">src/ui/MainWindowNative.qml</file>
<file alias="MainWindowNative.qml">src/ui/MainWindowNative.qml</file>
<file alias="MavlinkSettings.qml">src/ui/preferences/MavlinkSettings.qml</file>
<file alias="MavlinkSettings.qml">src/ui/preferences/MavlinkSettings.qml</file>
<file alias="PlanView.qml">src/PlanView/PlanView.qml</file>
<file alias="PlanView.qml">src/PlanView/PlanView.qml</file>
<file alias="MixersComponent.qml">src/AutoPilotPlugins/Common/MixersComponent.qml</file>
<file alias="MockLink.qml">src/ui/preferences/MockLink.qml</file>
<file alias="MockLink.qml">src/ui/preferences/MockLink.qml</file>
<file alias="MockLinkSettings.qml">src/ui/preferences/MockLinkSettings.qml</file>
<file alias="MockLinkSettings.qml">src/ui/preferences/MockLinkSettings.qml</file>
<file alias="MotorComponent.qml">src/AutoPilotPlugins/Common/MotorComponent.qml</file>
<file alias="MotorComponent.qml">src/AutoPilotPlugins/Common/MotorComponent.qml</file>
...
...
src/AutoPilotPlugins/APM/APMAutoPilotPlugin.cc
View file @
7d757374
...
@@ -28,7 +28,6 @@
...
@@ -28,7 +28,6 @@
#include "APMLightsComponent.h"
#include "APMLightsComponent.h"
#include "APMSubFrameComponent.h"
#include "APMSubFrameComponent.h"
#include "ESP8266Component.h"
#include "ESP8266Component.h"
#include "MixersComponent.h"
/// This is the AutoPilotPlugin implementatin for the MAV_AUTOPILOT_ARDUPILOT type.
/// This is the AutoPilotPlugin implementatin for the MAV_AUTOPILOT_ARDUPILOT type.
APMAutoPilotPlugin
::
APMAutoPilotPlugin
(
Vehicle
*
vehicle
,
QObject
*
parent
)
APMAutoPilotPlugin
::
APMAutoPilotPlugin
(
Vehicle
*
vehicle
,
QObject
*
parent
)
...
@@ -50,7 +49,6 @@ APMAutoPilotPlugin::APMAutoPilotPlugin(Vehicle* vehicle, QObject* parent)
...
@@ -50,7 +49,6 @@ APMAutoPilotPlugin::APMAutoPilotPlugin(Vehicle* vehicle, QObject* parent)
,
_tuningComponent
(
NULL
)
,
_tuningComponent
(
NULL
)
,
_airframeFacts
(
new
APMAirframeLoader
(
this
,
vehicle
->
uas
(),
this
))
,
_airframeFacts
(
new
APMAirframeLoader
(
this
,
vehicle
->
uas
(),
this
))
,
_esp8266Component
(
NULL
)
,
_esp8266Component
(
NULL
)
,
_mixersComponent
(
NULL
)
{
{
APMAirframeLoader
::
loadAirframeFactMetaData
();
APMAirframeLoader
::
loadAirframeFactMetaData
();
}
}
...
@@ -107,10 +105,6 @@ const QVariantList& APMAutoPilotPlugin::vehicleComponents(void)
...
@@ -107,10 +105,6 @@ const QVariantList& APMAutoPilotPlugin::vehicleComponents(void)
_tuningComponent
->
setupTriggerSignals
();
_tuningComponent
->
setupTriggerSignals
();
_components
.
append
(
QVariant
::
fromValue
((
VehicleComponent
*
)
_tuningComponent
));
_components
.
append
(
QVariant
::
fromValue
((
VehicleComponent
*
)
_tuningComponent
));
_mixersComponent
=
new
MixersComponent
(
_vehicle
,
this
);
_mixersComponent
->
setupTriggerSignals
();
_components
.
append
(
QVariant
::
fromValue
((
VehicleComponent
*
)
_mixersComponent
));
_cameraComponent
=
new
APMCameraComponent
(
_vehicle
,
this
);
_cameraComponent
=
new
APMCameraComponent
(
_vehicle
,
this
);
_cameraComponent
->
setupTriggerSignals
();
_cameraComponent
->
setupTriggerSignals
();
_components
.
append
(
QVariant
::
fromValue
((
VehicleComponent
*
)
_cameraComponent
));
_components
.
append
(
QVariant
::
fromValue
((
VehicleComponent
*
)
_cameraComponent
));
...
...
src/AutoPilotPlugins/APM/APMAutoPilotPlugin.h
View file @
7d757374
...
@@ -27,7 +27,6 @@ class APMCameraComponent;
...
@@ -27,7 +27,6 @@ class APMCameraComponent;
class
APMLightsComponent
;
class
APMLightsComponent
;
class
APMSubFrameComponent
;
class
APMSubFrameComponent
;
class
ESP8266Component
;
class
ESP8266Component
;
class
MixersComponent
;
/// This is the APM specific implementation of the AutoPilot class.
/// This is the APM specific implementation of the AutoPilot class.
class
APMAutoPilotPlugin
:
public
AutoPilotPlugin
class
APMAutoPilotPlugin
:
public
AutoPilotPlugin
...
@@ -60,7 +59,6 @@ protected:
...
@@ -60,7 +59,6 @@ protected:
APMTuningComponent
*
_tuningComponent
;
APMTuningComponent
*
_tuningComponent
;
APMAirframeLoader
*
_airframeFacts
;
APMAirframeLoader
*
_airframeFacts
;
ESP8266Component
*
_esp8266Component
;
ESP8266Component
*
_esp8266Component
;
MixersComponent
*
_mixersComponent
;
private:
private:
QVariantList
_components
;
QVariantList
_components
;
...
...
src/AutoPilotPlugins/Common/MixersComponent.cc
deleted
100644 → 0
View file @
b3fe4b6b
/****************************************************************************
*
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
****************************************************************************/
#include "MixersComponent.h"
#include "ParameterManager.h"
MixersComponent
::
MixersComponent
(
Vehicle
*
vehicle
,
AutoPilotPlugin
*
autopilot
,
QObject
*
parent
)
:
VehicleComponent
(
vehicle
,
autopilot
,
parent
)
,
_name
(
tr
(
"Mixers"
))
{
}
QString
MixersComponent
::
name
(
void
)
const
{
return
_name
;
}
QString
MixersComponent
::
description
(
void
)
const
{
return
tr
(
"Mixers tuning is used to blah, blah, blah... [WIP]"
);
}
QString
MixersComponent
::
iconResource
(
void
)
const
{
return
QStringLiteral
(
"/qmlimages/TuningComponentIcon.png"
);
}
bool
MixersComponent
::
requiresSetup
(
void
)
const
{
return
false
;
}
bool
MixersComponent
::
setupComplete
(
void
)
const
{
return
true
;
}
QStringList
MixersComponent
::
setupCompleteChangedTriggerList
(
void
)
const
{
return
QStringList
();
}
QUrl
MixersComponent
::
setupSource
(
void
)
const
{
return
QUrl
::
fromUserInput
(
QStringLiteral
(
"qrc:/qml/MixersComponent.qml"
));
}
QUrl
MixersComponent
::
summaryQmlSource
(
void
)
const
{
return
QUrl
();
}
src/AutoPilotPlugins/Common/MixersComponent.h
deleted
100644 → 0
View file @
b3fe4b6b
/****************************************************************************
*
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
****************************************************************************/
#ifndef MixersComponent_H
#define MixersComponent_H
#include "VehicleComponent.h"
// Mixers Tuning vehicle component
class
MixersComponent
:
public
VehicleComponent
{
Q_OBJECT
public:
MixersComponent
(
Vehicle
*
vehicle
,
AutoPilotPlugin
*
autopilot
,
QObject
*
parent
=
NULL
);
// Virtuals from VehicleComponent
QStringList
setupCompleteChangedTriggerList
(
void
)
const
final
;
// Virtuals from VehicleComponent
QString
name
(
void
)
const
final
;
QString
description
(
void
)
const
final
;
QString
iconResource
(
void
)
const
final
;
bool
requiresSetup
(
void
)
const
final
;
bool
setupComplete
(
void
)
const
final
;
QUrl
setupSource
(
void
)
const
final
;
QUrl
summaryQmlSource
(
void
)
const
final
;
bool
allowSetupWhileArmed
(
void
)
const
final
{
return
true
;
}
private:
const
QString
_name
;
QVariantList
_summaryItems
;
};
#endif
src/AutoPilotPlugins/Common/MixersComponent.qml
deleted
100644 → 0
View file @
b3fe4b6b
/****************************************************************************
*
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
****************************************************************************/
import
QtQuick
2.3
import
QtQuick
.
Controls
1.2
import
QGroundControl
.
FactSystem
1.0
import
QGroundControl
.
FactControls
1.0
import
QGroundControl
.
Palette
1.0
import
QGroundControl
.
Controls
1.0
import
QGroundControl
.
ScreenTools
1.0
// Mixer Tuning setup page
SetupPage
{
id
:
tuningPage
pageComponent
:
tuningPageComponent
Component
{
id
:
tuningPageComponent
Column
{
width
:
availableWidth
spacing
:
_margins
FactPanelController
{
id
:
controller
;
factPanel
:
tuningPage
.
viewPanel
}
QGCPalette
{
id
:
palette
;
colorGroupEnabled
:
true
}
QGCLabel
{
text
:
qsTr
(
"
Lot of Qml code goes here...
"
)
}
}
// Column
}
// Component
}
// SetupView
src/AutoPilotPlugins/PX4/PX4AutoPilotPlugin.cc
View file @
7d757374
...
@@ -39,7 +39,6 @@ PX4AutoPilotPlugin::PX4AutoPilotPlugin(Vehicle* vehicle, QObject* parent)
...
@@ -39,7 +39,6 @@ PX4AutoPilotPlugin::PX4AutoPilotPlugin(Vehicle* vehicle, QObject* parent)
,
_powerComponent
(
NULL
)
,
_powerComponent
(
NULL
)
,
_motorComponent
(
NULL
)
,
_motorComponent
(
NULL
)
,
_tuningComponent
(
NULL
)
,
_tuningComponent
(
NULL
)
,
_mixersComponent
(
NULL
)
,
_syslinkComponent
(
NULL
)
,
_syslinkComponent
(
NULL
)
{
{
if
(
!
vehicle
)
{
if
(
!
vehicle
)
{
...
@@ -100,13 +99,6 @@ const QVariantList& PX4AutoPilotPlugin::vehicleComponents(void)
...
@@ -100,13 +99,6 @@ const QVariantList& PX4AutoPilotPlugin::vehicleComponents(void)
_tuningComponent
->
setupTriggerSignals
();
_tuningComponent
->
setupTriggerSignals
();
_components
.
append
(
QVariant
::
fromValue
((
VehicleComponent
*
)
_tuningComponent
));
_components
.
append
(
QVariant
::
fromValue
((
VehicleComponent
*
)
_tuningComponent
));
#if 0
// Coming soon
_mixersComponent = new MixersComponent(_vehicle, this);
_mixersComponent->setupTriggerSignals();
_components.append(QVariant::fromValue((VehicleComponent*)_mixersComponent));
#endif
//-- Is there support for cameras?
//-- Is there support for cameras?
if
(
_vehicle
->
parameterManager
()
->
parameterExists
(
_vehicle
->
id
(),
"TRIG_MODE"
))
{
if
(
_vehicle
->
parameterManager
()
->
parameterExists
(
_vehicle
->
id
(),
"TRIG_MODE"
))
{
_cameraComponent
=
new
CameraComponent
(
_vehicle
,
this
);
_cameraComponent
=
new
CameraComponent
(
_vehicle
,
this
);
...
...
src/AutoPilotPlugins/PX4/PX4AutoPilotPlugin.h
View file @
7d757374
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#include "PowerComponent.h"
#include "PowerComponent.h"
#include "MotorComponent.h"
#include "MotorComponent.h"
#include "PX4TuningComponent.h"
#include "PX4TuningComponent.h"
#include "MixersComponent.h"
#include "SyslinkComponent.h"
#include "SyslinkComponent.h"
#include "Vehicle.h"
#include "Vehicle.h"
...
@@ -58,7 +57,6 @@ protected:
...
@@ -58,7 +57,6 @@ protected:
PowerComponent
*
_powerComponent
;
PowerComponent
*
_powerComponent
;
MotorComponent
*
_motorComponent
;
MotorComponent
*
_motorComponent
;
PX4TuningComponent
*
_tuningComponent
;
PX4TuningComponent
*
_tuningComponent
;
MixersComponent
*
_mixersComponent
;
SyslinkComponent
*
_syslinkComponent
;
SyslinkComponent
*
_syslinkComponent
;
private:
private:
QVariantList
_components
;
QVariantList
_components
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment