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
381b3ed7
Commit
381b3ed7
authored
Oct 10, 2011
by
LM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added debug vects
parent
a8417079
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
UAS.cc
src/uas/UAS.cc
+10
-0
No files found.
src/uas/UAS.cc
View file @
381b3ed7
...
@@ -891,6 +891,16 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
...
@@ -891,6 +891,16 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
case
MAVLINK_MSG_ID_SERVO_OUTPUT_RAW
:
case
MAVLINK_MSG_ID_SERVO_OUTPUT_RAW
:
case
MAVLINK_MSG_ID_OPTICAL_FLOW
:
case
MAVLINK_MSG_ID_OPTICAL_FLOW
:
case
MAVLINK_MSG_ID_DEBUG_VECT
:
case
MAVLINK_MSG_ID_DEBUG_VECT
:
{
mavlink_debug_vect_t
debug
;
mavlink_msg_debug_vect_decode
(
&
message
,
&
debug
);
QString
name
(
debug
.
name
);
quint64
time
=
getUnixTime
(
debug
.
time_usec
);
emit
valueChanged
(
uasId
,
name
+
".x"
,
"raw"
,
debug
.
x
,
time
);
emit
valueChanged
(
uasId
,
name
+
".y"
,
"raw"
,
debug
.
y
,
time
);
emit
valueChanged
(
uasId
,
name
+
".z"
,
"raw"
,
debug
.
z
,
time
);
}
break
;
case
MAVLINK_MSG_ID_DEBUG
:
case
MAVLINK_MSG_ID_DEBUG
:
break
;
break
;
default:
default:
...
...
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