mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 16:01:35 +08:00
add parameters for adjusting ALTCTL deadband
This commit is contained in:
@@ -66,6 +66,32 @@ PARAM_DEFINE_FLOAT(MPC_THR_MIN, 0.12f);
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MPC_THR_HOVER, 0.5f);
|
||||
|
||||
/**
|
||||
* ALTCTL throttle curve breakpoint
|
||||
*
|
||||
* Halfwidth of deadband or reduced sensitivity center portion of curve.
|
||||
* This is the halfwidth of the center region of the ALTCTL throttle
|
||||
* curve. It extends from center-dz to center+dz.
|
||||
*
|
||||
* @min 0.0
|
||||
* @max 0.2
|
||||
* @group Multicopter Position Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MPC_ALTCTL_DZ, 0.1f);
|
||||
|
||||
/**
|
||||
* ALTCTL throttle curve breakpoint height
|
||||
*
|
||||
* Controls the slope of the reduced sensitivity region.
|
||||
* This is the height of the ALTCTL throttle
|
||||
* curve at center-dz and center+dz.
|
||||
*
|
||||
* @min 0.0
|
||||
* @max 0.2
|
||||
* @group Multicopter Position Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MPC_ALTCTL_DY, 0.0f);
|
||||
|
||||
/**
|
||||
* Maximum thrust in auto thrust control
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user