Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
3afbd029
Commit
3afbd029
authored
Jun 28, 2017
by
Don Gagne
Browse files
Allow RADIO_STATUS message to pass through to vehicle
parent
ae04500d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Vehicle/Vehicle.cc
View file @
3afbd029
...
...
@@ -464,9 +464,11 @@ void Vehicle::resetCounters()
void
Vehicle
::
_mavlinkMessageReceived
(
LinkInterface
*
link
,
mavlink_message_t
message
)
{
if
(
message
.
sysid
!=
_id
&&
message
.
sysid
!=
0
)
{
return
;
// We allow RADIO_STATUS messages which come from a link the vehicle is using to pass through and be handled
if
(
!
(
message
.
msgid
==
MAVLINK_MSG_ID_RADIO_STATUS
&&
_containsLink
(
link
)))
{
return
;
}
}
if
(
!
_containsLink
(
link
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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