diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-01 14:43:56 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-01 14:43:56 +0200 |
commit | 491c6c29acef343819f32655e6e87334531af8cf (patch) | |
tree | 33c0e2502c7d60112e0f6e8eed1fc38f38ff9c3f | |
parent | 32e32d92bdad3eb4e92e9e53c112fcdcf848c7e6 (diff) | |
download | px4-firmware-491c6c29acef343819f32655e6e87334531af8cf.tar.gz px4-firmware-491c6c29acef343819f32655e6e87334531af8cf.tar.bz2 px4-firmware-491c6c29acef343819f32655e6e87334531af8cf.zip |
Init values
-rw-r--r-- | src/lib/external_lgpl/tecs/tecs.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/lib/external_lgpl/tecs/tecs.h b/src/lib/external_lgpl/tecs/tecs.h index 10c9e9344..752b0ddd9 100644 --- a/src/lib/external_lgpl/tecs/tecs.h +++ b/src/lib/external_lgpl/tecs/tecs.h @@ -28,6 +28,26 @@ class __EXPORT TECS { public: TECS() : + _update_50hz_last_usec(0), + _update_speed_last_usec(0), + _update_pitch_throttle_last_usec(0), + // TECS tuning parameters + _hgtCompFiltOmega(0.0f), + _spdCompFiltOmega(0.0f), + _maxClimbRate(2.0f), + _minSinkRate(1.0f), + _maxSinkRate(2.0f), + _timeConst(5.0f), + _timeConstThrot(8.0f), + _ptchDamp(0.0f), + _thrDamp(0.0f), + _integGain(0.0f), + _vertAccLim(0.0f), + _rollComp(0.0f), + _spdWeight(0.5f), + _heightrate_p(0.0f), + _speedrate_p(0.0f), + _throttle_dem(0.0f), _pitch_dem(0.0f), _integ1_state(0.0f), _integ2_state(0.0f), |