diff options
author | Julian Oes <julian@oes.ch> | 2014-06-03 21:29:26 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-06-03 21:29:26 +0200 |
commit | 5ed3652c2fdc20ba70df1cde6c28d58fa6be0e04 (patch) | |
tree | 5c7877c46adec3a10ba1a5014aeb5ed872f0e64d /src/modules/navigator | |
parent | 82b7b80f475d12fc31eb63c0d69a7cf8f75ac534 (diff) | |
download | px4-firmware-5ed3652c2fdc20ba70df1cde6c28d58fa6be0e04.tar.gz px4-firmware-5ed3652c2fdc20ba70df1cde6c28d58fa6be0e04.tar.bz2 px4-firmware-5ed3652c2fdc20ba70df1cde6c28d58fa6be0e04.zip |
navigator: compile fix
Diffstat (limited to 'src/modules/navigator')
-rw-r--r-- | src/modules/navigator/rtl.cpp | 4 | ||||
-rw-r--r-- | src/modules/navigator/rtl.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/navigator/rtl.cpp b/src/modules/navigator/rtl.cpp index dc87b0521..9d7886aa6 100644 --- a/src/modules/navigator/rtl.cpp +++ b/src/modules/navigator/rtl.cpp @@ -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 */ diff --git a/src/modules/navigator/rtl.h b/src/modules/navigator/rtl.h index 8d1bfec59..60336d5d0 100644 --- a/src/modules/navigator/rtl.h +++ b/src/modules/navigator/rtl.h @@ -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; |