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
fe3a27c7
Commit
fe3a27c7
authored
Jul 16, 2011
by
lm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes to MAVLinkGen, now a standalone generator included in QGC
parent
20a0f783
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
34 deletions
+47
-34
CMakeLists.txt
CMakeLists.txt
+0
-9
qgroundcontrol.pro
qgroundcontrol.pro
+16
-18
mavlinkgen.pri
src/apps/mavlinkgen/mavlinkgen.pri
+24
-6
mavlinkgen.pro
src/apps/mavlinkgen/mavlinkgen.pro
+7
-1
No files found.
CMakeLists.txt
View file @
fe3a27c7
...
...
@@ -381,7 +381,6 @@ set (qgroundcontrolHdrs
src/ui/map/Waypoint2DIcon.h
src/ui/map/MAV2DIcon.h
src/ui/OgreWidget.h
src/ui/mavlink/DomItem.h
src/ui/generated/ObjectDetectionView.h
src/ui/generated/MAVLinkSettingsWidget.h
src/ui/generated/SerialSettings.h
...
...
@@ -427,7 +426,6 @@ set(qgroundcontrolMocSrc
src/comm/AS4Protocol.h
src/comm/MAVLinkSwarmSimulationLink.h
src/comm/ProtocolInterface.h
src/comm/MAVLinkSyntaxHighlighter.h
#src/comm/OpalLink.h
src/comm/MAVLinkProtocol.h
src/comm/SerialLinkInterface.h
...
...
@@ -435,7 +433,6 @@ set(qgroundcontrolMocSrc
src/comm/UDPLink.h
src/comm/LinkManager.h
src/comm/LinkInterface.h
src/comm/MAVLinkXMLParser.h
src/comm/MAVLinkSimulationLink.h
src/comm/SerialSimulationLink.h
src/comm/MAVLinkSimulationWaypointPlanner.h
...
...
@@ -495,7 +492,6 @@ set(qgroundcontrolMocSrc
src/ui/QGCMAVLinkLogPlayer.h
src/ui/QGCUDPLinkConfiguration.h
#src/ui/OpalLinkConfigurationWindow.h
src/ui/mavlink/DomModel.h
src/ui/SlugsHilSim.h
src/ui/WaypointList.h
src/ui/JoystickWidget.h
...
...
@@ -529,8 +525,6 @@ set (qgroundcontrolSrc
src/comm/MAVLinkSimulationMAV.cc
src/comm/MAVLinkSimulationWaypointPlanner.cc
src/comm/MAVLinkSwarmSimulationLink.cc
src/comm/MAVLinkSyntaxHighlighter.cc
src/comm/MAVLinkXMLParser.cc
src/comm/SerialLink.cc
src/comm/SerialSimulationLink.cc
src/comm/UDPLink.cc
...
...
@@ -584,7 +578,6 @@ set (qgroundcontrolSrc
#src/ui/SlugsVideoCamControl.cpp
src/ui/WaypointList.cc
src/ui/WaypointView.cc
src/ui/XMLCommProtocolWidget.cc
src/ui/designer/QGCActionButton.cc
src/ui/designer/QGCParamSlider.cc
src/ui/designer/QGCToolWidget.cc
...
...
@@ -598,8 +591,6 @@ set (qgroundcontrolSrc
src/ui/map/MAV2DIcon.cc
src/ui/map/Waypoint2DIcon.cc
src/ui/map3D/QGCWebPage.cc
src/ui/mavlink/DomItem.cc
src/ui/mavlink/DomModel.cc
src/ui/uas/QGCUnconnectedInfoWidget.cc
src/ui/uas/UASControlWidget.cc
src/ui/uas/UASInfoWidget.cc
...
...
qgroundcontrol.pro
View file @
fe3a27c7
...
...
@@ -33,10 +33,6 @@ include(lib/nmea/nmea.pri)
#
(
We
're not reusing any part of the OP GCS, just the map library)
# Include MAVLink generator
include(src/apps/mavlinkgen.pri)
# Try to get it from OP mainline, if this fails fall back to internal copies
exists(../openpilot-xxxxxxx/ground/openpilotgcs/src/libs) {
include(../openpilot/ground/openpilotgcs/src/libs/utils/utils_external.pri)
...
...
@@ -146,11 +142,26 @@ contains(MAVLINK_CONF, ardupilotmega) {
}
# }
# Include general settings for
MAVGround
# Include general settings for
QGroundControl
# necessary as last include to override any non-acceptable settings
# done by the plugins above
include(qgroundcontrol.pri)
# Include MAVLink generator
DEPENDPATH += \
src/apps/mavlinkgen
INCLUDEPATH += \
src/apps/mavlinkgen \
src/apps/mavlinkgen/ui \
src/apps/mavlinkgen/generator
include(src/apps/mavlinkgen/mavlinkgen.pri)
# Include QWT plotting library
include(src/lib/qwt/qwt.pri)
DEPENDPATH += . \
...
...
@@ -194,7 +205,6 @@ FORMS += src/ui/MainWindow.ui \
src/ui/ObjectDetectionView.ui \
src/ui/JoystickWidget.ui \
src/ui/DebugConsole.ui \
src/ui/XMLCommProtocolWidget.ui \
src/ui/HDDisplay.ui \
src/ui/MAVLinkSettingsWidget.ui \
src/ui/AudioOutputWidget.ui \
...
...
@@ -279,10 +289,6 @@ HEADERS += src/MG.h \
src/input/JoystickInput.h \
src/ui/JoystickWidget.h \
src/ui/DebugConsole.h \
src/ui/XMLCommProtocolWidget.h \
src/ui/mavlink/DomItem.h \
src/ui/mavlink/DomModel.h \
src/comm/MAVLinkXMLParser.h \
src/ui/HDDisplay.h \
src/ui/MAVLinkSettingsWidget.h \
src/ui/AudioOutputWidget.h \
...
...
@@ -294,7 +300,6 @@ HEADERS += src/MG.h \
src/uas/SlugsMAV.h \
src/uas/PxQuadMAV.h \
src/uas/ArduPilotMegaMAV.h \
src/comm/MAVLinkSyntaxHighlighter.h \
src/ui/watchdog/WatchdogControl.h \
src/ui/watchdog/WatchdogProcessView.h \
src/ui/watchdog/WatchdogView.h \
...
...
@@ -340,7 +345,6 @@ HEADERS += src/MG.h \
src/ui/map/QGCMapWidget.h \
src/ui/map/MAV2DIcon.h \
src/ui/map/Waypoint2DIcon.h \
src/ui/mavlink/QGCMAVLinkTextEdit.h \
src/ui/map/QGCMapTool.h \
src/ui/map/QGCMapToolBar.h \
src/libs/qextserialport/qextserialenumerator.h
...
...
@@ -410,10 +414,6 @@ SOURCES += src/main.cc \
src/input/JoystickInput.cc \
src/ui/JoystickWidget.cc \
src/ui/DebugConsole.cc \
src/ui/XMLCommProtocolWidget.cc \
src/ui/mavlink/DomItem.cc \
src/ui/mavlink/DomModel.cc \
src/comm/MAVLinkXMLParser.cc \
src/ui/HDDisplay.cc \
src/ui/MAVLinkSettingsWidget.cc \
src/ui/AudioOutputWidget.cc \
...
...
@@ -425,7 +425,6 @@ SOURCES += src/main.cc \
src/uas/SlugsMAV.cc \
src/uas/PxQuadMAV.cc \
src/uas/ArduPilotMegaMAV.cc \
src/comm/MAVLinkSyntaxHighlighter.cc \
src/ui/watchdog/WatchdogControl.cc \
src/ui/watchdog/WatchdogProcessView.cc \
src/ui/watchdog/WatchdogView.cc \
...
...
@@ -470,7 +469,6 @@ SOURCES += src/main.cc \
src/ui/map/QGCMapWidget.cc \
src/ui/map/MAV2DIcon.cc \
src/ui/map/Waypoint2DIcon.cc \
src/ui/mavlink/QGCMAVLinkTextEdit.cc \
src/ui/map/QGCMapTool.cc \
src/ui/map/QGCMapToolBar.cc
macx|win32-msvc2008::SOURCES += src/ui/map3D/QGCGoogleEarthView.cc
...
...
src/apps/mavlinkgen/mavlinkgen.pri
View file @
fe3a27c7
# MAVLink code generator
# generates code in several languages for MAVLink encoding/decoding
# Third-party includes.
# if you include this file with the commands below into
# your Qt project, you can enable your application
# to generate MAVLink code easily.
###### EXAMPLE BEGIN
## Include MAVLink generator
#DEPENDPATH += \
# src/apps/mavlinkgen
#
#INCLUDEPATH += \
# src/apps/mavlinkgen
# src/apps/mavlinkgen/ui \
# src/apps/mavlinkgen/generator
#
#include(src/apps/mavlinkgen/mavlinkgen.pri)
###### EXAMPLE END
INCLUDEPATH += .\
ui \
...
...
@@ -7,18 +26,17 @@ INCLUDEPATH += .\
FORMS += ui/XMLCommProtocolWidget.ui
HEADERS +=
MAVLinkGen.h
\
HEADERS += \
ui/XMLCommProtocolWidget.h \
generator/MAVLinkXMLParser.h \
ui/DomItem.h \
ui/DomModel.h \
ui/QGCMAVLinkTextEdit.h
SOURCES += main.cc \
MAVLinkGen.cc \
SOURCES += \
ui/XMLCommProtocolWidget.cc \
ui/DomItem.cc \
ui/DomModel.cc \
generator/MAVLinkXMLParser.cc \
ui/QGCMAVLinkTextEdit.cc
RESOURCES = mavlinkgen.qrc
src/apps/mavlinkgen/mavlinkgen.pro
View file @
fe3a27c7
...
...
@@ -8,4 +8,10 @@ TARGET = mavlinkgen
LANGUAGE
=
C
++
include
(
mavlinkgen
.
pri
)
\ No newline at end of file
#
Widget
files
(
can
be
included
in
third
-
party
Qt
applications
)
include
(
mavlinkgen
.
pri
)
#
Standalone
files
HEADERS
+=
MAVLinkGen
.
h
SOURCES
+=
main
.
cc
\
MAVLinkGen
.
cc
\ No newline at end of file
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