mtecs: add FPA D gain

This commit is contained in:
Thomas Gubler
2014-03-27 21:22:22 +01:00
parent 54e1f2b2ce
commit 4824484497
3 changed files with 50 additions and 17 deletions
@@ -177,6 +177,23 @@ PARAM_DEFINE_FLOAT(MT_PIT_MAX, 45.0f);
*/
PARAM_DEFINE_FLOAT(MT_FPA_P, 0.1f);
/**
* D gain for the altitude control
*
* @min 0.0f
* @max 10.0f
* @group mTECS
*/
PARAM_DEFINE_FLOAT(MT_FPA_D, 0.0f);
/**
* Lowpass for FPA error derivative (see MT_FPA_D)
*
* @group mTECS
*/
PARAM_DEFINE_FLOAT(MT_FPA_D_LP, 1.0f);
/**
* Minimal flight path angle setpoint
*