mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 03:03:34 +08:00
implemented mapping between desired thrust and applied pwm in
multirotor mixer. Signed-off-by: Roman <bapstroman@gmail.com>
This commit is contained in:
@@ -3277,6 +3277,18 @@ PARAM_DEFINE_INT32(PWM_AUX_MAX, 2000);
|
||||
*/
|
||||
PARAM_DEFINE_INT32(PWM_AUX_DISARMED, 1500);
|
||||
|
||||
/**
|
||||
* Thrust to PWM model parameter
|
||||
*
|
||||
* Parameter used to model the relationship between static thrust and motor
|
||||
* input PWM. Model is: thrust = (1-factor)*PWM + factor * PWM^2
|
||||
*
|
||||
* @min 0.0
|
||||
* @max 1.0
|
||||
* @group PWM Outputs
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(THR_MDL_FAC, 0.65f);
|
||||
|
||||
/**
|
||||
* Minimum motor rise time (slew rate limit).
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user