mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 19:07:45 +08:00
add AUX trim parameters
This commit is contained in:
committed by
Lorenz Meier
parent
a0c8a78a14
commit
9ced4afca3
@@ -107,3 +107,70 @@ PARAM_DEFINE_INT32(PWM_AUX_REV5, 0);
|
|||||||
* @group PWM Outputs
|
* @group PWM Outputs
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_INT32(PWM_AUX_REV6, 0);
|
PARAM_DEFINE_INT32(PWM_AUX_REV6, 0);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Trim value for FMU PWM output channel 1
|
||||||
|
*
|
||||||
|
* Set to neutral period in usec
|
||||||
|
*
|
||||||
|
* @min 1400
|
||||||
|
* @max 1600
|
||||||
|
* @group PWM Outputs
|
||||||
|
*/
|
||||||
|
PARAM_DEFINE_INT32(PWM_AUX_TRIM1, 1500);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Trim value for FMU PWM output channel 2
|
||||||
|
*
|
||||||
|
* Set to neutral period in usec
|
||||||
|
*
|
||||||
|
* @min 1400
|
||||||
|
* @max 1600
|
||||||
|
* @group PWM Outputs
|
||||||
|
*/
|
||||||
|
PARAM_DEFINE_INT32(PWM_AUX_TRIM2, 1500);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Trim value for FMU PWM output channel 3
|
||||||
|
*
|
||||||
|
* Set to neutral period in usec
|
||||||
|
*
|
||||||
|
* @min 1400
|
||||||
|
* @max 1600
|
||||||
|
* @group PWM Outputs
|
||||||
|
*/
|
||||||
|
PARAM_DEFINE_INT32(PWM_AUX_TRIM3, 1500);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Trim value for FMU PWM output channel 4
|
||||||
|
*
|
||||||
|
* Set to neutral period in usec
|
||||||
|
*
|
||||||
|
* @min 1400
|
||||||
|
* @max 1600
|
||||||
|
* @group PWM Outputs
|
||||||
|
*/
|
||||||
|
PARAM_DEFINE_INT32(PWM_AUX_TRIM4, 1500);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Trim value for FMU PWM output channel 5
|
||||||
|
*
|
||||||
|
* Set to neutral period in usec
|
||||||
|
*
|
||||||
|
* @min 1400
|
||||||
|
* @max 1600
|
||||||
|
* @group PWM Outputs
|
||||||
|
*/
|
||||||
|
PARAM_DEFINE_INT32(PWM_AUX_TRIM5, 1500);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Trim value for FMU PWM output channel 6
|
||||||
|
*
|
||||||
|
* Set to neutral period in usec
|
||||||
|
*
|
||||||
|
* @min 1400
|
||||||
|
* @max 1600
|
||||||
|
* @group PWM Outputs
|
||||||
|
*/
|
||||||
|
PARAM_DEFINE_INT32(PWM_AUX_TRIM6, 1500);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user