mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 12:23:34 +08:00
MC_AIRMODE: move parameter definition to mixer_module
Makes sure that the parameter is included for the builds that need it.
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
/**
|
||||||
|
* Multicopter air-mode
|
||||||
|
*
|
||||||
|
* The air-mode enables the mixer to increase the total thrust of the multirotor
|
||||||
|
* in order to keep attitude and rate control even at low and high throttle.
|
||||||
|
*
|
||||||
|
* This function should be disabled during tuning as it will help the controller
|
||||||
|
* to diverge if the closed-loop is unstable (i.e. the vehicle is not tuned yet).
|
||||||
|
*
|
||||||
|
* Enabling air-mode for yaw requires the use of an arming switch.
|
||||||
|
*
|
||||||
|
* @value 0 Disabled
|
||||||
|
* @value 1 Roll/Pitch
|
||||||
|
* @value 2 Roll/Pitch/Yaw
|
||||||
|
* @group Multicopter Attitude Control
|
||||||
|
*/
|
||||||
|
PARAM_DEFINE_INT32(MC_AIRMODE, 0);
|
||||||
@@ -609,21 +609,3 @@ PARAM_DEFINE_FLOAT(MC_TPA_RATE_D, 0.0f);
|
|||||||
*/
|
*/
|
||||||
PARAM_DEFINE_FLOAT(MC_DTERM_CUTOFF, 0.f);
|
PARAM_DEFINE_FLOAT(MC_DTERM_CUTOFF, 0.f);
|
||||||
|
|
||||||
/**
|
|
||||||
* Multicopter air-mode
|
|
||||||
*
|
|
||||||
* The air-mode enables the mixer to increase the total thrust of the multirotor
|
|
||||||
* in order to keep attitude and rate control even at low and high throttle.
|
|
||||||
*
|
|
||||||
* This function should be disabled during tuning as it will help the controller
|
|
||||||
* to diverge if the closed-loop is unstable (i.e. the vehicle is not tuned yet).
|
|
||||||
*
|
|
||||||
* Enabling air-mode for yaw requires the use of an arming switch.
|
|
||||||
*
|
|
||||||
* @value 0 Disabled
|
|
||||||
* @value 1 Roll/Pitch
|
|
||||||
* @value 2 Roll/Pitch/Yaw
|
|
||||||
* @group Multicopter Attitude Control
|
|
||||||
*/
|
|
||||||
PARAM_DEFINE_INT32(MC_AIRMODE, 0);
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user