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
62b184bb
Commit
62b184bb
authored
May 25, 2010
by
lm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed minor compile errors
parent
cd9d96b0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
PxQuadMAV.cc
src/uas/PxQuadMAV.cc
+1
-1
WatchdogControl.cc
src/ui/watchdog/WatchdogControl.cc
+2
-2
WatchdogControl.h
src/ui/watchdog/WatchdogControl.h
+2
-1
No files found.
src/uas/PxQuadMAV.cc
View file @
62b184bb
...
...
@@ -62,6 +62,6 @@ void PxQuadMAV::sendProcessCommand(int watchdogId, int processId, unsigned int c
payload
.
command_id
=
(
uint8_t
)
command
;
mavlink_message_t
msg
;
mavlink_msg_watchdog_command_encode
(
sysid
,
compid
,
&
msg
,
&
payload
);
mavlink_msg_watchdog_command_encode
(
mavlink
->
getSystemId
(),
mavlink
->
getComponentId
()
,
&
msg
,
&
payload
);
sendMessage
(
msg
);
}
src/ui/watchdog/WatchdogControl.cc
View file @
62b184bb
...
...
@@ -4,7 +4,7 @@
#include <QDebug>
WatchdogControl
::
WatchdogControl
(
UASInterface
*
uas
,
QWidget
*
parent
)
:
WatchdogControl
::
WatchdogControl
(
QWidget
*
parent
)
:
QWidget
(
parent
),
mav
(
NULL
),
ui
(
new
Ui
::
WatchdogControl
)
...
...
@@ -19,7 +19,7 @@ WatchdogControl::~WatchdogControl()
void
WatchdogControl
::
setUAS
(
UASInterface
*
uas
)
{
PxQuadMAV
*
qmav
=
dynamic_cast
<
PxQuadMAV
>
(
uas
);
PxQuadMAV
*
qmav
=
dynamic_cast
<
PxQuadMAV
*
>
(
uas
);
if
(
qmav
)
{
...
...
src/ui/watchdog/WatchdogControl.h
View file @
62b184bb
...
...
@@ -94,7 +94,7 @@ public:
QTimer
*
timeoutTimer_
;
///< Internal timer, used to measure the time since the last heartbeat message
};
WatchdogControl
(
UASInterface
*
uas
,
QWidget
*
parent
=
0
);
WatchdogControl
(
QWidget
*
parent
=
0
);
~
WatchdogControl
();
static
const
uint16_t
ALL
=
(
uint16_t
)
-
1
;
///< A magic value for a process-ID which addresses "all processes"
...
...
@@ -105,6 +105,7 @@ public slots:
void
updateWatchdog
(
int
systemId
,
int
watchdogId
,
unsigned
int
processCount
);
void
addProcess
(
int
systemId
,
int
watchdogId
,
int
processId
,
QString
name
,
QString
arguments
,
int
timeout
);
void
updateProcess
(
int
systemId
,
int
watchdogId
,
int
processId
,
int
state
,
bool
muted
,
int
crashed
,
int
pid
);
void
setUAS
(
UASInterface
*
uas
);
signals:
void
sendProcessCommand
(
int
watchdogId
,
int
processId
,
unsigned
int
command
);
...
...
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