mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 18:13:33 +08:00
mc_pos_control: switch manual vertical/z velocity curve to expo with deadzone
This commit is contained in:
committed by
Dennis Mannhart
parent
eb054a0ea1
commit
eec757915c
@@ -87,20 +87,6 @@ PARAM_DEFINE_FLOAT(MPC_THR_HOVER, 0.5f);
|
||||
*/
|
||||
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
|
||||
* @decimal 2
|
||||
* @group Multicopter Position Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MPC_ALTCTL_DY, 0.0f);
|
||||
|
||||
/**
|
||||
* Maximum thrust in auto thrust control
|
||||
*
|
||||
@@ -509,3 +495,19 @@ PARAM_DEFINE_INT32(MPC_ALT_MODE, 0);
|
||||
* @group Multicopter Position Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MPC_XY_MAN_EXPO, 0.0f);
|
||||
|
||||
/**
|
||||
* Manual control stick vertical exponential curve
|
||||
*
|
||||
* The higher the value the less sensitivity the stick has around zero
|
||||
* while still reaching the maximum value with full stick deflection.
|
||||
*
|
||||
* 0 Purely linear input curve (default)
|
||||
* 1 Purely cubic input curve
|
||||
*
|
||||
* @min 0
|
||||
* @max 1
|
||||
* @decimal 2
|
||||
* @group Multicopter Position Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MPC_Z_MAN_EXPO, 0.0f);
|
||||
|
||||
Reference in New Issue
Block a user