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
69d3b392
Commit
69d3b392
authored
Dec 30, 2016
by
Don Gagne
Committed by
GitHub
Dec 30, 2016
Browse files
Merge pull request #4368 from DonLakeFlyer/PX4MockLink
Update PX4 MockLink params
parents
d663c932
3499594f
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
src/FactSystem/FactSystemTest.qml
View file @
69d3b392
...
...
@@ -32,7 +32,7 @@ FactPanel {
TextInput
{
text
:
fact2
.
value
property
Fact
fact2
:
controller
.
getParameterFact
(
50
,
"
RC_MAP_THROTTLE
"
)
property
Fact
fact2
:
controller
.
getParameterFact
(
1
,
"
RC_MAP_THROTTLE
"
)
onAccepted
:
fact2
.
value
=
text
}
...
...
src/FactSystem/FactSystemTestBase.cc
View file @
69d3b392
...
...
@@ -58,8 +58,8 @@ void FactSystemTestBase::_parameter_default_component_id_test(void)
void
FactSystemTestBase
::
_parameter_specific_component_id_test
(
void
)
{
QVERIFY
(
_vehicle
->
parameterManager
()
->
parameterExists
(
50
,
"RC_MAP_THROTTLE"
));
Fact
*
fact
=
_vehicle
->
parameterManager
()
->
getParameter
(
50
,
"RC_MAP_THROTTLE"
);
QVERIFY
(
_vehicle
->
parameterManager
()
->
parameterExists
(
1
,
"RC_MAP_THROTTLE"
));
Fact
*
fact
=
_vehicle
->
parameterManager
()
->
getParameter
(
1
,
"RC_MAP_THROTTLE"
);
QVERIFY
(
fact
!=
NULL
);
QVariant
factValue
=
fact
->
rawValue
();
QCOMPARE
(
factValue
.
isValid
(),
true
);
...
...
src/comm/PX4MockLink.params
View file @
69d3b392
This diff is collapsed.
Click to expand it.
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