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
95aaa6a1
Commit
95aaa6a1
authored
Oct 24, 2010
by
pixhawk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Major MAVLink cleanup
parent
1f2214d3
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
122 additions
and
62 deletions
+122
-62
qgroundcontrol.pro
qgroundcontrol.pro
+2
-1
MAVLinkLightProtocol.h
src/comm/MAVLinkLightProtocol.h
+1
-1
MAVLinkProtocol.cc
src/comm/MAVLinkProtocol.cc
+1
-1
MAVLinkProtocol.h
src/comm/MAVLinkProtocol.h
+1
-1
MAVLinkSimulationLink.cc
src/comm/MAVLinkSimulationLink.cc
+1
-1
MAVLinkSimulationLink.h
src/comm/MAVLinkSimulationLink.h
+1
-1
OpalLink.h
src/comm/OpalLink.h
+1
-2
QGCMAVlink.h
src/comm/QGCMAVlink.h
+51
-0
QGCParamID.h
src/comm/QGCParamID.h
+1
-1
SerialLink.h
src/comm/SerialLink.h
+13
-13
SerialLinkInterface.h
src/comm/SerialLinkInterface.h
+13
-13
SerialSimulationLink.h
src/comm/SerialSimulationLink.h
+13
-13
UDPLink.h
src/comm/UDPLink.h
+6
-6
UAS.cc
src/uas/UAS.cc
+1
-1
UAS.h
src/uas/UAS.h
+1
-1
UASWaypointManager.h
src/uas/UASWaypointManager.h
+1
-1
QMap3DWidget.cc
src/ui/map3D/QMap3DWidget.cc
+0
-1
UASControlWidget.cc
src/ui/uas/UASControlWidget.cc
+0
-1
user_config.pri.dist
user_config.pri.dist
+14
-3
No files found.
qgroundcontrol.pro
View file @
95aaa6a1
...
...
@@ -200,7 +200,8 @@ HEADERS += src/MG.h \
src
/
ui
/
map3D
/
TextureCache
.
h
\
src
/
ui
/
map3D
/
WebImage
.
h
\
src
/
ui
/
map3D
/
WebImageCache
.
h
\
src
/
ui
/
map3D
/
Imagery
.
h
src
/
ui
/
map3D
/
Imagery
.
h
\
src
/
comm
/
QGCMAVlink
.
h
SOURCES
+=
src
/
main
.
cc
\
src
/
Core
.
cc
\
src
/
uas
/
UASManager
.
cc
\
...
...
src/comm/MAVLinkLightProtocol.h
View file @
95aaa6a1
...
...
@@ -2,7 +2,7 @@
QGroundControl Open Source Ground Control Station
(c) 2009
, 2010
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
(c) 2009
- 2011
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
...
...
src/comm/MAVLinkProtocol.cc
View file @
95aaa6a1
...
...
@@ -45,7 +45,7 @@ This file is part of the QGROUNDCONTROL project
#include "ArduPilotMAV.h"
#include "configuration.h"
#include "LinkManager.h"
#include <
mavl
ink.h>
#include <
QGCMAVL
ink.h>
#include "QGC.h"
/**
...
...
src/comm/MAVLinkProtocol.h
View file @
95aaa6a1
...
...
@@ -40,7 +40,7 @@ This file is part of the QGROUNDCONTROL project
#include "ProtocolInterface.h"
#include "LinkInterface.h"
#include "protocol.h"
#include "
mav
link.h"
#include "
QGCMAV
link.h"
/**
* @brief MAVLink micro air vehicle protocol reference implementation.
...
...
src/comm/MAVLinkSimulationLink.cc
View file @
95aaa6a1
...
...
@@ -41,7 +41,7 @@ This file is part of the QGROUNDCONTROL project
#include "MAVLinkProtocol.h"
#include "MAVLinkSimulationLink.h"
// MAVLINK includes
#include <
mavl
ink.h>
#include <
QGCMAVL
ink.h>
#include "QGC.h"
/**
...
...
src/comm/MAVLinkSimulationLink.h
View file @
95aaa6a1
...
...
@@ -39,7 +39,7 @@ This file is part of the QGROUNDCONTROL project
#include <QMutex>
#include <QMap>
#include <inttypes.h>
#include
<mavlink.h>
#include
"QGCMAVLink.h"
#include "LinkInterface.h"
...
...
src/comm/OpalLink.h
View file @
95aaa6a1
...
...
@@ -43,8 +43,7 @@ This file is part of the QGROUNDCONTROL project
#include "LinkInterface.h"
#include "LinkManager.h"
#include "MG.h"
#include "mavlink.h"
#include "mavlink_types.h"
#include "QGCMAVLink.h"
#include "configuration.h"
#include "OpalRT.h"
#include "ParameterList.h"
...
...
src/comm/QGCMAVlink.h
0 → 100644
View file @
95aaa6a1
/*=====================================================================
QGroundControl Open Source Ground Control Station
(c) 2009 - 2011 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
QGROUNDCONTROL is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
QGROUNDCONTROL is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QGROUNDCONTROL. If not, see <http://www.gnu.org/licenses/>.
======================================================================*/
/**
* @file
* @brief MAVLink header file for QGroundControl
* @author Lorenz Meier <pixhawk@switched.com>
*/
#ifndef QGCMAVLINK_H
#define QGCMAVLINK_H
#include <mavlink_types.h>
#ifdef QGC_USE_PIXHAWK_MESSAGES
#include <pixhawk.h>
#endif
#ifdef QGC_USE_SLUGS_MESSAGES
#include <slugs.h>
#endif
#ifdef QGC_USE_UALBERTA_MESSAGES
#include <ualberta.h>
#endif
#ifdef QGC_USE_ARDUPILOT_MESSAGES
#include <ardupilot.h>
#endif
#endif // QGCMAVLINK_H
src/comm/QGCParamID.h
View file @
95aaa6a1
...
...
@@ -2,7 +2,7 @@
QGroundControl Open Source Ground Control Station
(c) 2009
, 2010
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
(c) 2009
- 2011
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
...
...
src/comm/SerialLink.h
View file @
95aaa6a1
/*=====================================================================
PIXHAWK Micro Air Vehicle Flying Robotics Toolkit
(c) 2009
PIXHAWK PROJECT <http://pixhawk.ethz.ch
>
This file is part of the
PIXHAWK
project
PIXHAWK
is free software: you can redistribute it and/or modify
QGroundControl Open Source Ground Control Station
(c) 2009
- 2011 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org
>
This file is part of the
QGROUNDCONTROL
project
QGROUNDCONTROL
is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
PIXHAWK
is distributed in the hope that it will be useful,
QGROUNDCONTROL
is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with
PIXHAWK
. If not, see <http://www.gnu.org/licenses/>.
along with
QGROUNDCONTROL
. If not, see <http://www.gnu.org/licenses/>.
======================================================================*/
/**
...
...
src/comm/SerialLinkInterface.h
View file @
95aaa6a1
/*=====================================================================
PIXHAWK Micro Air Vehicle Flying Robotics Toolkit
(c) 2009
PIXHAWK PROJECT <http://pixhawk.ethz.ch
>
This file is part of the
PIXHAWK
project
PIXHAWK
is free software: you can redistribute it and/or modify
QGroundControl Open Source Ground Control Station
(c) 2009
- 2011 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org
>
This file is part of the
QGROUNDCONTROL
project
QGROUNDCONTROL
is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
PIXHAWK
is distributed in the hope that it will be useful,
QGROUNDCONTROL
is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with
PIXHAWK
. If not, see <http://www.gnu.org/licenses/>.
along with
QGROUNDCONTROL
. If not, see <http://www.gnu.org/licenses/>.
======================================================================*/
/**
...
...
src/comm/SerialSimulationLink.h
View file @
95aaa6a1
/*=====================================================================
PIXHAWK Micro Air Vehicle Flying Robotics Toolkit
(c) 2009
PIXHAWK PROJECT <http://pixhawk.ethz.ch
>
This file is part of the
PIXHAWK
project
PIXHAWK
is free software: you can redistribute it and/or modify
QGroundControl Open Source Ground Control Station
(c) 2009
- 2011 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org
>
This file is part of the
QGROUNDCONTROL
project
QGROUNDCONTROL
is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
PIXHAWK
is distributed in the hope that it will be useful,
QGROUNDCONTROL
is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with
PIXHAWK
. If not, see <http://www.gnu.org/licenses/>.
along with
QGROUNDCONTROL
. If not, see <http://www.gnu.org/licenses/>.
======================================================================*/
/**
...
...
src/comm/UDPLink.h
View file @
95aaa6a1
/*=====================================================================
PIXHAWK Micro Air Vehicle Flying Robotics Toolkit
QGroundControl Open Source Ground Control Station
(c) 2009
PIXHAWK PROJECT <http://pixhawk.ethz.ch
>
(c) 2009
- 2011 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org
>
This file is part of the
PIXHAWK
project
This file is part of the
QGROUNDCONTROL
project
PIXHAWK
is free software: you can redistribute it and/or modify
QGROUNDCONTROL
is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
PIXHAWK
is distributed in the hope that it will be useful,
QGROUNDCONTROL
is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with
PIXHAWK
. If not, see <http://www.gnu.org/licenses/>.
along with
QGROUNDCONTROL
. If not, see <http://www.gnu.org/licenses/>.
======================================================================*/
...
...
src/uas/UAS.cc
View file @
95aaa6a1
...
...
@@ -42,7 +42,7 @@ This file is part of the QGROUNDCONTROL project
#include "QGC.h"
#include "GAudioOutput.h"
#include "MAVLinkProtocol.h"
#include
<mavlink.h>
#include
"QGCMAVLink.h"
UAS
::
UAS
(
MAVLinkProtocol
*
protocol
,
int
id
)
:
UASInterface
(),
uasId
(
id
),
...
...
src/uas/UAS.h
View file @
95aaa6a1
...
...
@@ -35,7 +35,7 @@ This file is part of the QGROUNDCONTROL project
#include "UASInterface.h"
#include "MG.h"
#include <MAVLinkProtocol.h>
#include
<mavlink.h>
#include
"QGCMAVLink.h"
/**
* @brief A generic MAVLINK-connected MAV/UAV
...
...
src/uas/UASWaypointManager.h
View file @
95aaa6a1
...
...
@@ -36,7 +36,7 @@ This file is part of the QGROUNDCONTROL project
#include <QVector>
#include <QTimer>
#include "Waypoint.h"
#include
<mavlink.h>
#include
"QGCMAVLink.h"
class
UAS
;
/**
...
...
src/ui/map3D/QMap3DWidget.cc
View file @
95aaa6a1
...
...
@@ -273,7 +273,6 @@ QMap3DWidget::displayHandler(void)
5
,
&
painter
);
painter
.
end
();
repaint
();
}
void
QMap3DWidget
::
drawWaypoints
(
void
)
const
...
...
src/ui/uas/UASControlWidget.cc
View file @
95aaa6a1
...
...
@@ -41,7 +41,6 @@ This file is part of the PIXHAWK project
#include "UASControlWidget.h"
#include <UASManager.h>
#include <UAS.h>
//#include <mavlink.h>
#define CONTROL_MODE_LOCKED "MODE LOCKED"
#define CONTROL_MODE_MANUAL "MODE MANUAL"
...
...
user_config.pri.dist
View file @
95aaa6a1
...
...
@@ -27,7 +27,18 @@
# Several message sets can be also enabled in parallel, as long as function names
# and message ids do not conflict.
INCLUDEPATH += $$BASEDIR/../mavlink/include/pixhawk
#INCLUDEPATH += $$BASEDIR/../mavlink/include/slugs
#INCLUDEPATH += $$BASEDIR/../mavlink/include/ualberta
# Remove the default set - it is included anyway
INCLUDEPATH -= $$BASEDIR/../mavlink/include/common
# PIXHAWK SPECIAL MESSAGES
INCLUDEPATH += $$BASEDIR/../mavlink/include/pixhawk
DEFINES += QGC_USE_PIXHAWK_MESSAGES
# SLUGS SPECIAL MESSAGES
INCLUDEPATH += $$BASEDIR/../mavlink/include/slugs
DEFINES += QGC_USE_SLUGS_MESSAGES
# UALBERTA SPECIAL MESSAGES
INCLUDEPATH += $$BASEDIR/../mavlink/include/ualberta
DEFINES += QGC_USE_UALBERTA_MESSAGES
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