Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
SkywardHub
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Avionics
Software Development
SkywardHub
Commits
779bec6e
Commit
779bec6e
authored
10 months ago
by
Niccolò Betto
Committed by
Alberto Nidasio
9 months ago
Browse files
Options
Downloads
Patches
Plain Diff
[Mavlink] Handle WACK messages
OutgoingMessagessViewer now paints messages that received a WACK reply as white.
parent
2ab42b83
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libs/magic_enum
+1
-0
1 addition, 0 deletions
libs/magic_enum
src/shared/Modules/OutgoingMessagesViewer/OutgoingMessagesViewerModule.cpp
+3
-6
3 additions, 6 deletions
...s/OutgoingMessagesViewer/OutgoingMessagesViewerModule.cpp
with
4 additions
and
6 deletions
magic_enum
@
dae6bbf1
Subproject commit dae6bbf16c363e9ead4e628a47fdb02956a634f3
This diff is collapsed.
Click to expand it.
src/shared/Modules/OutgoingMessagesViewer/OutgoingMessagesViewerModule.cpp
+
3
−
6
View file @
779bec6e
...
...
@@ -37,18 +37,15 @@ OutgoingMessagesViewerModule::OutgoingMessagesViewerModule()
{
handleMsg
(
message
);
});
MessageBroker
::
getInstance
().
subscribe
(
Filter
::
fromString
(
SkywardHubStrings
::
mavlink_received_msg_ACK_topic
),
this
,
[
this
](
const
Message
&
message
,
const
Filter
&
filter
)
this
,
[
this
](
const
Message
&
message
,
const
Filter
&
filter
)
{
handleAck
(
message
);
});
MessageBroker
::
getInstance
().
subscribe
(
Filter
::
fromString
(
SkywardHubStrings
::
mavlink_received_msg_NACK_topic
),
this
,
[
this
](
const
Message
&
message
,
const
Filter
&
filter
)
this
,
[
this
](
const
Message
&
message
,
const
Filter
&
filter
)
{
handleNack
(
message
);
});
MessageBroker
::
getInstance
().
subscribe
(
Filter
::
fromString
(
SkywardHubStrings
::
mavlink_received_msg_WACK_topic
),
this
,
[
this
](
const
Message
&
message
,
const
Filter
&
filter
)
this
,
[
this
](
const
Message
&
message
,
const
Filter
&
filter
)
{
handleWack
(
message
);
});
timer
=
new
QTimer
(
this
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment