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
966cad30
Commit
966cad30
authored
May 14, 2010
by
pixhawk
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git@pixhawk.ethz.ch:groundcontrol
parents
6a5e0f49
7d25a85a
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
191 additions
and
69 deletions
+191
-69
qgroundcontrol.pri
qgroundcontrol.pri
+1
-0
GAudioOutput.h
src/GAudioOutput.h
+4
-2
UAS.cc
src/uas/UAS.cc
+178
-65
UAS.h
src/uas/UAS.h
+1
-1
ParameterInterface.cc
src/ui/ParameterInterface.cc
+4
-1
QGCSensorSettingsWidget.ui
src/ui/QGCSensorSettingsWidget.ui
+3
-0
No files found.
qgroundcontrol.pri
View file @
966cad30
...
...
@@ -97,6 +97,7 @@ linux-g++ {
DESTDIR = $$BASEDIR
}
INCLUDEPATH += /usr/include \
/usr/include/qt4/phonon
# $$BASEDIR/lib/flite/include \
# $$BASEDIR/lib/flite/lang
...
...
src/GAudioOutput.h
View file @
966cad30
...
...
@@ -40,10 +40,12 @@ This file is part of the PIXHAWK project
#endif
#ifdef Q_OS_LINUX
//#include <flite/flite.h>
#include <phonon>
#include <Phonon/MediaObject>
#include <Phonon/AudioOutput>
#endif
#ifdef Q_OS_WIN
#include <Phonon>
#include <Phonon/MediaObject>
#include <Phonon/AudioOutput>
#endif
/* For Snow leopard and later
...
...
src/uas/UAS.cc
View file @
966cad30
This diff is collapsed.
Click to expand it.
src/uas/UAS.h
View file @
966cad30
...
...
@@ -86,6 +86,7 @@ protected:
CommStatus
commStatus
;
///< Communication status
QString
name
;
///< Human-friendly name of the vehicle, e.g. bravo
QList
<
LinkInterface
*>*
links
;
///< List of links this UAS can be reached by
QList
<
int
>
unknownPackets
;
///< Packet IDs which are unknown and have been received
MAVLinkProtocol
*
mavlink
;
///< Reference to the MAVLink instance
BatteryType
batteryType
;
///< The battery type
int
cells
;
///< Number of cells
...
...
@@ -95,7 +96,6 @@ protected:
QList
<
double
>
motorValues
;
QList
<
QString
>
motorNames
;
QList
<
int
>
unknownPackets
;
///< Packet IDs which are unknown and have been received
double
thrustSum
;
///< Sum of forward/up thrust of all thrust actuators, in Newtons
double
thrustMax
;
///< Maximum forward/up thrust of this vehicle, in Newtons
...
...
src/ui/ParameterInterface.cc
View file @
966cad30
...
...
@@ -15,6 +15,9 @@ ParameterInterface::ParameterInterface(QWidget *parent) :
m_ui
(
new
Ui
::
parameterWidget
)
{
m_ui
->
setupUi
(
this
);
// Make sure the combo box is empty
// because else indices get messed up
m_ui
->
vehicleComboBox
->
clear
();
// Setup UI connections
connect
(
m_ui
->
vehicleComboBox
,
SIGNAL
(
activated
(
int
)),
this
,
SLOT
(
selectUAS
(
int
)));
...
...
@@ -54,7 +57,7 @@ void ParameterInterface::addUAS(UASInterface* uas)
// Set widgets as default
if
(
curr
==
-
1
)
{
m_ui
->
sensorSettings
->
setCurrentWidget
(
param
);
m_ui
->
sensorSettings
->
setCurrentWidget
(
sensor
);
m_ui
->
stackedWidget
->
setCurrentWidget
(
param
);
curr
=
uas
->
getUASID
();
}
...
...
src/ui/QGCSensorSettingsWidget.ui
View file @
966cad30
...
...
@@ -14,6 +14,9 @@
<string>
Form
</string>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout_4"
>
<property
name=
"margin"
>
<number>
0
</number>
</property>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QGroupBox"
name=
"groupBox"
>
<property
name=
"title"
>
...
...
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