mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 03:53:33 +08:00
Sticks: globalize MPC_HOLD_DZ to MAN_DEADZONE
This commit is contained in:
committed by
Silvan Fuhrer
parent
a9720cf1ef
commit
2bf9fce577
@@ -58,3 +58,20 @@ PARAM_DEFINE_INT32(MAN_ARM_GESTURE, 1);
|
||||
* @max 15
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MAN_KILL_GEST_T, -1.f);
|
||||
|
||||
/**
|
||||
* Deadzone for sticks (only specific use cases)
|
||||
*
|
||||
* Range around stick center ignored to prevent
|
||||
* vehicle drift from stick hardware inaccuracy.
|
||||
*
|
||||
* Does not apply to any precise constant input like
|
||||
* throttle and attitude or rate piloting.
|
||||
*
|
||||
* @min 0
|
||||
* @max 1
|
||||
* @decimal 2
|
||||
* @increment 0.01
|
||||
* @group Manual Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MAN_DEADZONE, 0.1f);
|
||||
|
||||
Reference in New Issue
Block a user