mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-12 17:40:36 +08:00
constrain integrator part in control output until startup detection is available for safety reasons
This commit is contained in:
@@ -85,7 +85,7 @@ PARAM_DEFINE_FLOAT(FW_P_RMAX_NEG, 0.0f);
|
||||
// @Description This limits the range in degrees the integrator can wind up to.
|
||||
// @Range 0.0 to 45.0
|
||||
// @Increment 1.0
|
||||
PARAM_DEFINE_FLOAT(FW_P_IMAX, 15.0f);
|
||||
PARAM_DEFINE_FLOAT(FW_P_IMAX, 0.2f);
|
||||
|
||||
// @DisplayName Roll feedforward gain.
|
||||
// @Description This compensates during turns and ensures the nose stays level.
|
||||
@@ -119,7 +119,7 @@ PARAM_DEFINE_FLOAT(FW_R_I, 0.0f);
|
||||
// @Description This limits the range in degrees the integrator can wind up to.
|
||||
// @Range 0.0 to 45.0
|
||||
// @Increment 1.0
|
||||
PARAM_DEFINE_FLOAT(FW_R_IMAX, 15.0f);
|
||||
PARAM_DEFINE_FLOAT(FW_R_IMAX, 0.2f);
|
||||
|
||||
// @DisplayName Maximum Roll Rate
|
||||
// @Description This limits the maximum roll rate the controller will output (in degrees per second). Setting a value of zero disables the limit.
|
||||
@@ -130,7 +130,7 @@ PARAM_DEFINE_FLOAT(FW_R_RMAX, 60);
|
||||
|
||||
PARAM_DEFINE_FLOAT(FW_Y_P, 0);
|
||||
PARAM_DEFINE_FLOAT(FW_Y_I, 0);
|
||||
PARAM_DEFINE_FLOAT(FW_Y_IMAX, 15.0f);
|
||||
PARAM_DEFINE_FLOAT(FW_Y_IMAX, 0.2f);
|
||||
PARAM_DEFINE_FLOAT(FW_Y_D, 0);
|
||||
PARAM_DEFINE_FLOAT(FW_Y_ROLLFF, 0);
|
||||
PARAM_DEFINE_FLOAT(FW_AIRSPD_MIN, 9.0f);
|
||||
|
||||
Reference in New Issue
Block a user