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
71a63d00
Commit
71a63d00
authored
Nov 04, 2010
by
Mariano Lizarraga
Browse files
Minor changes to Slugs signals
parent
b2bb46b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/uas/SlugsMAV.cc
View file @
71a63d00
...
...
@@ -29,6 +29,8 @@ SlugsMAV::SlugsMAV(MAVLinkProtocol* mavlink, int id) :
UAS
(
mavlink
,
id
)
//,
// Place other initializers here
{
}
/**
...
...
@@ -65,6 +67,8 @@ void SlugsMAV::receiveMessage(LinkInterface* link, mavlink_message_t message)
emit
valueChanged
(
uasId
,
tr
(
"ControlDSC Load"
),
cpu_load
.
ctrlLoad
,
time
);
emit
valueChanged
(
uasId
,
tr
(
"Battery Volt"
),
cpu_load
.
batVolt
,
time
);
emit
newCpuLoad
(
uasId
,
&
cpu_load
);
break
;
}
case
MAVLINK_MSG_ID_AIR_DATA
:
...
...
src/uas/SlugsMAV.h
View file @
71a63d00
...
...
@@ -25,6 +25,7 @@ This file is part of the QGROUNDCONTROL project
#define SLUGSMAV_H
#include
"UAS.h"
#include
"mavlink.h"
class
SlugsMAV
:
public
UAS
{
...
...
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