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
17cadb0e
Commit
17cadb0e
authored
Aug 25, 2010
by
Bryan Godbolt
Browse files
working on params
parent
a65d5c56
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/comm/OpalLink.cc
View file @
17cadb0e
...
...
@@ -96,6 +96,7 @@ void OpalLink::writeBytes(const char *bytes, qint64 length)
mavlink_param_set_t
param
;
mavlink_msg_param_set_decode
(
&
msg
,
&
param
);
QString
paramName
((
char
*
)
param
.
param_id
);
qDebug
()
<<
"OpalLink::writeBytes():paramName: "
<<
paramName
;
if
(
paramName
==
"NAV_FILT_INIT"
)
{
if
(
param
.
param_value
==
1
||
param
.
param_value
==
0
)
...
...
@@ -164,7 +165,7 @@ void OpalLink::heartbeat()
}
void
OpalLink
::
setSignals
(
double
*
values
)
{
unsigned
short
numSignals
=
9
;
unsigned
short
numSignals
=
2
;
unsigned
short
logicalId
=
1
;
unsigned
short
signalIndex
[]
=
{
0
,
1
};
// double values[] = {0.5, // ch 1
...
...
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