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
edc7dcc1
Commit
edc7dcc1
authored
Aug 03, 2013
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into config
parents
2a0a9430
d35cebde
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
UAS.cc
src/uas/UAS.cc
+2
-9
UASInterface.h
src/uas/UASInterface.h
+3
-0
No files found.
src/uas/UAS.cc
View file @
edc7dcc1
...
...
@@ -1532,15 +1532,8 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
{
unknownPackets
.
append
(
message
.
msgid
);
// XXX Do NOT show this to users, as they will attribute
// completely random problems to this message and won't
// even bother to look up what the message actually is.
// QString errString = tr("UNABLE TO DECODE MESSAGE NUMBER %1").arg(message.msgid);
// //GAudioOutput::instance()->say(errString+tr(", please check console for details."));
// emit textMessageReceived(uasId, message.compid, 255, errString);
// std::cout << "Unable to decode message from system " << std::dec << static_cast<int>(message.sysid) << " with message id:" << static_cast<int>(message.msgid) << std::endl;
// //qDebug() << std::cerr << "Unable to decode message from system " << std::dec << static_cast<int>(message.acid) << " with message id:" << static_cast<int>(message.msgid) << std::endl;
emit
unknownPacketReceived
(
uasId
,
message
.
compid
,
message
.
msgid
);
qWarning
()
<<
"Unknown message from system:"
<<
uasId
<<
"message:"
<<
message
.
msgid
;
}
}
break
;
...
...
src/uas/UASInterface.h
View file @
edc7dcc1
...
...
@@ -643,6 +643,9 @@ signals:
// HOME POSITION / ORIGIN CHANGES
void
homePositionChanged
(
int
uas
,
double
lat
,
double
lon
,
double
alt
);
/** @brief The system received an unknown message, which it could not interpret */
void
unknownPacketReceived
(
int
uas
,
int
component
,
int
messageid
);
protected:
// TIMEOUT CONSTANTS
...
...
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