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:
Beat Küng 2019-08-23 09:34:17 +02:00 committed by Daniel Agar
parent 077b229655
commit 1bee984bb0
2 changed files with 18 additions and 18 deletions

View File

@ -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);

View File

@ -609,21 +609,3 @@ PARAM_DEFINE_FLOAT(MC_TPA_RATE_D, 0.0f);
*/
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);