Commit 3499594f authored by Don Gagne's avatar Don Gagne

Update PX4 MockLink params

parent 671a465f
......@@ -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
}
......
......@@ -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);
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment