# Navio2 QGC missing parameters

**URL:** <https://discuss.px4.io/t/navio2-qgc-missing-parameters/1980>\
**Category:** PX4 Autopilot\
**Created:** [December 20, 2016, 5:52pm UTC](https://discuss.px4.io/t/navio2-qgc-missing-parameters/1980 "2016-12-20T17:52:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pettair](https://discuss.px4.io/letter_avatar_proxy/v4/letter/p/f08c70/32.png) [@pettair](https://discuss.px4.io/u/pettair)\
**Post date:** [December 20, 2016, 5:52pm UTC](https://discuss.px4.io/t/navio2-qgc-missing-parameters/1980/1 "2016-12-20T17:52:13Z")

</div>

Hi

When I start the px4 on raspberry pi using navio2 I get some warning about default parameters are not set. I’ll attach a screenshot:

 ![](https://discuss.px4.io/uploads/default/original/1X/a8c778d1a443a24348e823d227c2e4ebe1c97b93.png)

I see the following error in the QGC’s console:  
[E] at qrc:/qml/SafetyComponent.qml:426 - “qrc:/qml/SafetyComponent.qml:426: TypeError: Cannot read property ‘value’ of null”

It seems like a QGC specific error, but Im wondering why these parameters are not present by default. Since if I set one of the missing parameters manually in the px4.config the warning message for that param goes away.

I set the following:  
param set RTL\_DESCEND\_ALT 60

In the startup log it seems to be override the “default” value  
RTL\_DESCEND\_ALT: curr: 30.0000 → new: 60.0000

And the the warning for that parameter is gone:

 ![](https://discuss.px4.io/uploads/default/original/1X/911a1d1c491777d3ffa5dc4e7006c737c253f4b8.png)

Also I observed that if I restart the application it looses all of the configuration/calibration I made before. Not sure if the root cause is the same or at least similar. But for me it look like the application cannot read / write the parameters from / to the filesystem.

Can you guide me which way I should look, or how to proceed to overcome this issue?

Thanks in advance!

Peter

---

<div class="post-metadata">

**Author:** ![secondstupid](https://discuss.px4.io/letter_avatar_proxy/v4/letter/s/278dde/32.png) [@secondstupid](https://discuss.px4.io/u/secondstupid)\
**Post date:** [December 21, 2016, 9:12am UTC](https://discuss.px4.io/t/navio2-qgc-missing-parameters/1980/2 "2016-12-21T09:12:06Z")

</div>

I meet the same issue on my raspberry pi.

Is there any solution?

---

<div class="post-metadata">

**Author:** ![bkueng](https://discuss.px4.io/letter_avatar_proxy/v4/letter/b/2bfe46/32.png) [@bkueng](https://discuss.px4.io/u/bkueng)\
**Post date:** [December 22, 2016, 1:35pm UTC](https://discuss.px4.io/t/navio2-qgc-missing-parameters/1980/3 "2016-12-22T13:35:14Z")

</div>

Hi

Both of your issues are resolved with [https://github.com/PX4/Firmware/pull/6135](https://github.com/PX4/Firmware/pull/6135), it should be on master soon. The problem was that the parameters were not loaded on startup and navigator did not run, which is responsible for the RTL\_\* parameters.

@DonLakeFlyer Can we remove the hard dependency on the RTL\_\* parameters? Seems like an unnecessary dependency, as for example racers don’t need to run navigator.

Beat

---

<div class="post-metadata">

**Author:** ![DonLakeFlyer](https://discuss.px4.io/user_avatar/discuss.px4.io/donlakeflyer/32/3036_2.png) [@DonLakeFlyer](https://discuss.px4.io/u/DonLakeFlyer)\
**Post date:** [December 22, 2016, 1:53pm UTC](https://discuss.px4.io/t/navio2-qgc-missing-parameters/1980/4 "2016-12-22T13:53:12Z")

</div>

Since QGC creates user interface which directly uses these parameters (RTL settings, GeoFence) it will complain if they are missing. It is possible to make this ui optional but not something I’d want to do unless absolutely necessary. Having QGC work correctly with custom versions of PX4 firmware which have parts turned off and parameters missing due to that fact can be done but if so, that needs to be spec’ed out as to what can be optional.

---

<div class="post-metadata">

**Author:** ![bkueng](https://discuss.px4.io/letter_avatar_proxy/v4/letter/b/2bfe46/32.png) [@bkueng](https://discuss.px4.io/u/bkueng)\
**Post date:** [December 22, 2016, 2:16pm UTC](https://discuss.px4.io/t/navio2-qgc-missing-parameters/1980/5 "2016-12-22T14:16:36Z")

</div>

Ok got it, makes sense.
