FlightTask: add 1st order lpf on yawrate satepoint for smooth motion

This commit is contained in:
bresch
2019-11-09 14:20:57 +01:00
committed by Mathieu Bresciani
parent 4c5e5acefe
commit ffee103ae0
3 changed files with 57 additions and 12 deletions
@@ -395,6 +395,18 @@ PARAM_DEFINE_FLOAT(MPC_MAN_TILT_MAX, 35.0f);
*/
PARAM_DEFINE_FLOAT(MPC_MAN_Y_MAX, 150.0f);
/**
* Manual yaw rate input filter time constant
* Setting this parameter to 0 disables the filter
*
* @unit s
* @min 0.0
* @max 5.0
* @decimal 2
* @group Multicopter Position Control
*/
PARAM_DEFINE_FLOAT(MPC_MAN_Y_TAU, 0.08f);
/**
* Deadzone of sticks where position hold is enabled
*