mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 04:13:33 +08:00
FMU relocate MOT_SLEW_MAX and THR_MDL_FAC parameters centrally
This commit is contained in:
@@ -31,33 +31,6 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
/**
|
||||
* 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.0f);
|
||||
|
||||
/**
|
||||
* Minimum motor rise time (slew rate limit).
|
||||
*
|
||||
* Minimum time allowed for the motor input signal to pass through
|
||||
* a range of 1000 PWM units. A value x means that the motor signal
|
||||
* can only go from 1000 to 2000 PWM in maximum x seconds.
|
||||
*
|
||||
* Zero means that slew rate limiting is disabled.
|
||||
*
|
||||
* @min 0.0
|
||||
* @unit s/(1000*PWM)
|
||||
* @group PWM Outputs
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MOT_SLEW_MAX, 0.0f);
|
||||
|
||||
/**
|
||||
* Motor Ordering
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user