navigator: compile fix

This commit is contained in:
Julian Oes 2014-06-03 21:29:26 +02:00
parent 82b7b80f47
commit 5ed3652c2f
2 changed files with 3 additions and 2 deletions

View File

@ -57,7 +57,9 @@ RTL::RTL(Navigator *navigator) :
_rtl_state(RTL_STATE_NONE),
_home_position({}),
_loiter_radius(50),
_acceptance_radius(50)
_acceptance_radius(50),
_param_return_alt(this, "RETURN_ALT"),
_param_descend_alt(this, "DESCEND_ALT"),
_param_land_delay(this, "LAND_DELAY")
{
/* load initial params */

View File

@ -92,7 +92,6 @@ private:
float _loiter_radius;
float _acceptance_radius;
control::BlockParamFloat _param_return_alt;
control::BlockParamFloat _param_descend_alt;
control::BlockParamFloat _param_land_delay;