mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 15:58:53 +08:00
rc_update: remove 1% deadzone for RC channels 1-8 (#25502)
* rc_update: remove 1% deadzone for all channels
this should be handled higher level.
* Remove all references to the RC{n}_DZ parameters
Regular expression: RC.{0,2}_DZ
---------
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com>
This commit is contained in:
co-authored by
Jacob Dahl
parent
12035682d7
commit
4842c542b8
@@ -803,92 +803,74 @@
|
||||
1 1 PWM_MAIN_TIM1 400 6
|
||||
1 1 PWM_MAIN_TIM2 -1 6
|
||||
1 1 PWM_SBUS_MODE 0 6
|
||||
1 1 RC10_DZ 0.000000000000000000 9
|
||||
1 1 RC10_MAX 2000.000000000000000000 9
|
||||
1 1 RC10_MIN 1000.000000000000000000 9
|
||||
1 1 RC10_REV 1.000000000000000000 9
|
||||
1 1 RC10_TRIM 1500.000000000000000000 9
|
||||
1 1 RC11_DZ 0.000000000000000000 9
|
||||
1 1 RC11_MAX 2000.000000000000000000 9
|
||||
1 1 RC11_MIN 1000.000000000000000000 9
|
||||
1 1 RC11_REV 1.000000000000000000 9
|
||||
1 1 RC11_TRIM 1500.000000000000000000 9
|
||||
1 1 RC12_DZ 0.000000000000000000 9
|
||||
1 1 RC12_MAX 2000.000000000000000000 9
|
||||
1 1 RC12_MIN 1000.000000000000000000 9
|
||||
1 1 RC12_REV 1.000000000000000000 9
|
||||
1 1 RC12_TRIM 1500.000000000000000000 9
|
||||
1 1 RC13_DZ 0.000000000000000000 9
|
||||
1 1 RC13_MAX 2000.000000000000000000 9
|
||||
1 1 RC13_MIN 1000.000000000000000000 9
|
||||
1 1 RC13_REV 1.000000000000000000 9
|
||||
1 1 RC13_TRIM 1500.000000000000000000 9
|
||||
1 1 RC14_DZ 0.000000000000000000 9
|
||||
1 1 RC14_MAX 2000.000000000000000000 9
|
||||
1 1 RC14_MIN 1000.000000000000000000 9
|
||||
1 1 RC14_REV 1.000000000000000000 9
|
||||
1 1 RC14_TRIM 1500.000000000000000000 9
|
||||
1 1 RC15_DZ 0.000000000000000000 9
|
||||
1 1 RC15_MAX 2000.000000000000000000 9
|
||||
1 1 RC15_MIN 1000.000000000000000000 9
|
||||
1 1 RC15_REV 1.000000000000000000 9
|
||||
1 1 RC15_TRIM 1500.000000000000000000 9
|
||||
1 1 RC16_DZ 0.000000000000000000 9
|
||||
1 1 RC16_MAX 2000.000000000000000000 9
|
||||
1 1 RC16_MIN 1000.000000000000000000 9
|
||||
1 1 RC16_REV 1.000000000000000000 9
|
||||
1 1 RC16_TRIM 1500.000000000000000000 9
|
||||
1 1 RC17_DZ 0.000000000000000000 9
|
||||
1 1 RC17_MAX 2000.000000000000000000 9
|
||||
1 1 RC17_MIN 1000.000000000000000000 9
|
||||
1 1 RC17_REV 1.000000000000000000 9
|
||||
1 1 RC17_TRIM 1500.000000000000000000 9
|
||||
1 1 RC18_DZ 0.000000000000000000 9
|
||||
1 1 RC18_MAX 2000.000000000000000000 9
|
||||
1 1 RC18_MIN 1000.000000000000000000 9
|
||||
1 1 RC18_REV 1.000000000000000000 9
|
||||
1 1 RC18_TRIM 1500.000000000000000000 9
|
||||
1 1 RC1_DZ 10.000000000000000000 9
|
||||
1 1 RC1_MAX 1996.000000000000000000 9
|
||||
1 1 RC1_MIN 999.000000000000000000 9
|
||||
1 1 RC1_REV 1.000000000000000000 9
|
||||
1 1 RC1_TRIM 1498.000000000000000000 9
|
||||
1 1 RC2_DZ 10.000000000000000000 9
|
||||
1 1 RC2_MAX 1998.000000000000000000 9
|
||||
1 1 RC2_MIN 1000.000000000000000000 9
|
||||
1 1 RC2_REV 1.000000000000000000 9
|
||||
1 1 RC2_TRIM 1499.000000000000000000 9
|
||||
1 1 RC3_DZ 10.000000000000000000 9
|
||||
1 1 RC3_MAX 1997.000000000000000000 9
|
||||
1 1 RC3_MIN 1000.000000000000000000 9
|
||||
1 1 RC3_REV 1.000000000000000000 9
|
||||
1 1 RC3_TRIM 1000.000000000000000000 9
|
||||
1 1 RC4_DZ 10.000000000000000000 9
|
||||
1 1 RC4_MAX 1997.000000000000000000 9
|
||||
1 1 RC4_MIN 1000.000000000000000000 9
|
||||
1 1 RC4_REV 1.000000000000000000 9
|
||||
1 1 RC4_TRIM 1498.000000000000000000 9
|
||||
1 1 RC5_DZ 10.000000000000000000 9
|
||||
1 1 RC5_MAX 2000.000000000000000000 9
|
||||
1 1 RC5_MIN 1000.000000000000000000 9
|
||||
1 1 RC5_REV 1.000000000000000000 9
|
||||
1 1 RC5_TRIM 1500.000000000000000000 9
|
||||
1 1 RC6_DZ 10.000000000000000000 9
|
||||
1 1 RC6_MAX 2000.000000000000000000 9
|
||||
1 1 RC6_MIN 1000.000000000000000000 9
|
||||
1 1 RC6_REV 1.000000000000000000 9
|
||||
1 1 RC6_TRIM 1500.000000000000000000 9
|
||||
1 1 RC7_DZ 10.000000000000000000 9
|
||||
1 1 RC7_MAX 2000.000000000000000000 9
|
||||
1 1 RC7_MIN 1000.000000000000000000 9
|
||||
1 1 RC7_REV 1.000000000000000000 9
|
||||
1 1 RC7_TRIM 1500.000000000000000000 9
|
||||
1 1 RC8_DZ 10.000000000000000000 9
|
||||
1 1 RC8_MAX 2000.000000000000000000 9
|
||||
1 1 RC8_MIN 1000.000000000000000000 9
|
||||
1 1 RC8_REV 1.000000000000000000 9
|
||||
1 1 RC8_TRIM 1500.000000000000000000 9
|
||||
1 1 RC9_DZ 0.000000000000000000 9
|
||||
1 1 RC9_MAX 2000.000000000000000000 9
|
||||
1 1 RC9_MIN 1000.000000000000000000 9
|
||||
1 1 RC9_REV 1.000000000000000000 9
|
||||
|
||||
@@ -47,5 +47,4 @@ The mode is affected by the following parameters:
|
||||
| ----------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| <a id="MPC_Z_VEL_MAX_UP"></a>[MPC_Z_VEL_MAX_UP](../advanced_config/parameter_reference.md#MPC_Z_VEL_MAX_UP) | Maximum vertical ascent velocity. Default: 3 m/s. |
|
||||
| <a id="MPC_Z_VEL_MAX_DN"></a>[MPC_Z_VEL_MAX_DN](../advanced_config/parameter_reference.md#MPC_Z_VEL_MAX_DN) | Maximum vertical descent velocity. Default: 1 m/s. |
|
||||
| <a id="RCX_DZ"></a>`RCX_DZ` | RC dead zone for channel X. The value of X for throttle will depend on the value of [RC_MAP_THROTTLE](../advanced_config/parameter_reference.md#RC_MAP_THROTTLE). For example, if the throttle is channel 4 then [RC4_DZ](../advanced_config/parameter_reference.md#RC4_DZ) specifies the deadzone. |
|
||||
| <a id="MPC_xxx"></a>`MPC_XXXX` | Most of the MPC_xxx parameters affect flight behaviour in this mode (at least to some extent). For example, [MPC_THR_HOVER](../advanced_config/parameter_reference.md#MPC_THR_HOVER) defines the thrust at which a vehicle will hover. |
|
||||
|
||||
@@ -67,7 +67,6 @@ All the parameters in the [Multicopter Position Control](../advanced_config/para
|
||||
| <a id="MPC_Z_VEL_MAX_DN"></a>[MPC_Z_VEL_MAX_DN](../advanced_config/parameter_reference.md#MPC_Z_VEL_MAX_DN) | Maximum vertical descent velocity. Default: 1 m/s. |
|
||||
| <a id="MPC_LAND_ALT1"></a>[MPC_LAND_ALT1](../advanced_config/parameter_reference.md#MPC_LAND_ALT1) | Altitude for triggering first phase of slow landing. Below this altitude descending velocity gets limited to a value between [MPC_Z_VEL_MAX_DN](#MPC_Z_VEL_MAX_DN) (or `MPC_Z_V_AUTO_DN`) and [MPC_LAND_SPEED](#MPC_LAND_SPEED). Value needs to be higher than [MPC_LAND_ALT2](#MPC_LAND_ALT2). Default 10m. |
|
||||
| <a id="MPC_LAND_ALT2"></a>[MPC_LAND_ALT2](../advanced_config/parameter_reference.md#MPC_LAND_ALT2) | Altitude for second phase of slow landing. Below this altitude descending velocity gets limited to [`MPC_LAND_SPEED`](#MPC_LAND_SPEED). Value needs to be lower than "MPC_LAND_ALT1". Default 5m. |
|
||||
| <a id="RCX_DZ"></a>`RCX_DZ` | RC dead zone for channel X. The value of X for throttle will depend on the value of [RC_MAP_THROTTLE](../advanced_config/parameter_reference.md#RC_MAP_THROTTLE). For example, if the throttle is channel 4 then [RC4_DZ](../advanced_config/parameter_reference.md#RC4_DZ) specifies the deadzone. |
|
||||
| <a id="MPC_xxx"></a>`MPC_XXXX` | Most of the MPC_xxx parameters affect flight behaviour in this mode (at least to some extent). For example, [MPC_THR_HOVER](../advanced_config/parameter_reference.md#MPC_THR_HOVER) defines the thrust at which a vehicle will hover. |
|
||||
| <a id="MPC_POS_MODE"></a>[MPC_POS_MODE](../advanced_config/parameter_reference.md#MPC_POS_MODE) | Stick input to movement translation strategy. From PX4 v1.12 the default (`Acceleration based`) is that stick position controls acceleration (in a similar way to a car accelerator pedal). Other options allow stick deflection to directly control speed over ground, with and without smoothing and acceleration limits. |
|
||||
| <a id="MPC_ACC_HOR_MAX"></a>[MPC_ACC_HOR_MAX](../advanced_config/parameter_reference.md#MPC_ACC_HOR_MAX) | Maximum horizontal acceleration. |
|
||||
|
||||
Reference in New Issue
Block a user