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
efb1428b
Commit
efb1428b
authored
Aug 11, 2010
by
Bryan Godbolt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added OpalLink to core. protected with ifdef OPAL_RT
parent
f9c5e979
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
qgroundcontrol.pro
qgroundcontrol.pro
+1
-1
Core.cc
src/Core.cc
+5
-0
Core.h
src/Core.h
+4
-0
No files found.
qgroundcontrol.pro
View file @
efb1428b
...
...
@@ -213,7 +213,7 @@ RESOURCES = mavground.qrc
#
Include
RT
-
LAB
Library
win32
{
LIBS
+=
C
:
\
OPAL
-
RT
\
RT
-
LAB7
.
2.4
\
Common
\
lib
\
OpalApi
.
lib
INCLUDEPATH
+=
C
:
\
OPAL
-
RT
\
RT
-
LAB7
.
2.4
\
Common
\
Include
INCLUDEPATH
+=
src
/
lib
/
opalrt
SOURCES
+=
src
/
comm
/
OpalLink
.
cc
HEADERS
+=
src
/
comm
/
OpalLink
.
h
DEFINES
+=
OPAL_RT
...
...
src/Core.cc
View file @
efb1428b
...
...
@@ -132,6 +132,11 @@ Core::Core(int &argc, char* argv[]) : QApplication(argc, argv)
}
}
#ifdef OPAL_RT
// Add OpalRT Link, but do not connect
OpalLink
*
opalLink
=
new
OpalLink
();
mainWindow
->
addLink
(
opalLink
);
#endif
// MAVLinkSimulationLink* simulationLink = new MAVLinkSimulationLink(MG::DIR::getSupportFilesDirectory() + "/demo-log.txt");
MAVLinkSimulationLink
*
simulationLink
=
new
MAVLinkSimulationLink
(
":/demo-log.txt"
);
mainWindow
->
addLink
(
simulationLink
);
...
...
src/Core.h
View file @
efb1428b
...
...
@@ -39,7 +39,11 @@ This file is part of the PIXHAWK project
#include "UASManager.h"
#include "LinkManager.h"
/*#include "ViconTarsusProtocol.h" */
#ifdef OPAL_RT
#include "OpalLink.h"
#endif
/**
* @brief The main application and management class.
*
...
...
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