mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 22:53:34 +08:00
mc_pos_control: added exponential curve to manual x,y velocity setpoint
controlled by parameter MPC_XY_MAN_EXPO that is disabled (0) by default
This commit is contained in:
committed by
Lorenz Meier
parent
661832ca1d
commit
c2be4b2b29
@@ -492,3 +492,18 @@ PARAM_DEFINE_FLOAT(MPC_ACC_DOWN_MAX, 5.0f);
|
||||
* @group Multicopter Position Control
|
||||
*/
|
||||
PARAM_DEFINE_INT32(MPC_ALT_MODE, 0);
|
||||
|
||||
/**
|
||||
* Manual control stick exponential curve sensitivity attenuation with small velocity setpoints
|
||||
*
|
||||
* The higher the value the less sensitivity the stick has around zero
|
||||
* while still reaching the maximum value with full stick deflection.
|
||||
*
|
||||
* @min 0
|
||||
* @max 1
|
||||
* @value 0 Purely linear input curve (default)
|
||||
* @value 1 Purely cubic input curve
|
||||
* @decimal 2
|
||||
* @group Multicopter Position Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MPC_XY_MAN_EXPO, 0.0f);
|
||||
|
||||
Reference in New Issue
Block a user