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
a9185986
Commit
a9185986
authored
May 07, 2014
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add MAVLink message container to valid meta types for cross-thread buffering
parent
15812f3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
MAVLinkProtocol.cc
src/comm/MAVLinkProtocol.cc
+4
-0
No files found.
src/comm/MAVLinkProtocol.cc
View file @
a9185986
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
#include <QSettings>
#include <QSettings>
#include <QDesktopServices>
#include <QDesktopServices>
#include <QtEndian>
#include <QtEndian>
#include <QMetaType>
#include "MAVLinkProtocol.h"
#include "MAVLinkProtocol.h"
#include "UASInterface.h"
#include "UASInterface.h"
...
@@ -36,6 +37,7 @@
...
@@ -36,6 +37,7 @@
#include <google/protobuf/descriptor.h>
#include <google/protobuf/descriptor.h>
#endif
#endif
Q_DECLARE_METATYPE
(
mavlink_message_t
)
/**
/**
* The default constructor will create a new MAVLink object sending heartbeats at
* The default constructor will create a new MAVLink object sending heartbeats at
...
@@ -58,6 +60,8 @@ MAVLinkProtocol::MAVLinkProtocol() :
...
@@ -58,6 +60,8 @@ MAVLinkProtocol::MAVLinkProtocol() :
versionMismatchIgnore
(
false
),
versionMismatchIgnore
(
false
),
systemId
(
QGC
::
defaultSystemId
)
systemId
(
QGC
::
defaultSystemId
)
{
{
qRegisterMetaType
<
mavlink_message_t
>
(
"mavlink_message_t"
);
m_authKey
=
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
;
m_authKey
=
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
;
loadSettings
();
loadSettings
();
//start(QThread::LowPriority);
//start(QThread::LowPriority);
...
...
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