diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-08-24 12:29:30 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-08-24 12:29:30 +0200 |
commit | c037cfe6f2daef8ff96cad965c4b040a9d8c62f9 (patch) | |
tree | ff7c0715b10bb54a1033840f6945802fb0fb404f /src/modules/navigator/datalinkloss.h | |
parent | 81adc52671d920ffe184948267fcc1f9fbb027cc (diff) | |
download | px4-firmware-c037cfe6f2daef8ff96cad965c4b040a9d8c62f9.tar.gz px4-firmware-c037cfe6f2daef8ff96cad965c4b040a9d8c62f9.tar.bz2 px4-firmware-c037cfe6f2daef8ff96cad965c4b040a9d8c62f9.zip |
datalink loss (obc): add termination after loitering at airfield home
Diffstat (limited to 'src/modules/navigator/datalinkloss.h')
-rw-r--r-- | src/modules/navigator/datalinkloss.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/navigator/datalinkloss.h b/src/modules/navigator/datalinkloss.h index 96b4ce010..d0c9ad09a 100644 --- a/src/modules/navigator/datalinkloss.h +++ b/src/modules/navigator/datalinkloss.h @@ -72,12 +72,15 @@ private: control::BlockParamInt _param_airfieldhomelat; // * 1e7 control::BlockParamInt _param_airfieldhomelon; // * 1e7 control::BlockParamFloat _param_airfieldhomealt; + control::BlockParamFloat _param_airfieldhomewaittime; control::BlockParamInt _param_numberdatalinklosses; enum DLLState { DLL_STATE_NONE = 0, DLL_STATE_FLYTOCOMMSHOLDWP = 1, DLL_STATE_FLYTOAIRFIELDHOMEWP = 2, + DLL_STATE_TERMINATE = 3, + DLL_STATE_END = 4 } _dll_state; /** |