PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Parameters defined for PWM output. More...
Go to the source code of this file.
Functions | |
PARAM_DEFINE_INT32 (PWM_AUX_RATE, 50) | |
Set the PWM output frequency for the auxiliary outputs. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MIN, 1000) | |
Set the minimum PWM for the auxiliary outputs. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MAX, 2000) | |
Set the maximum PWM for the auxiliary outputs. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_DISARMED, 1500) | |
Set the disarmed PWM for auxiliary outputs. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MIN1, -1) | |
Set the min PWM value for the auxiliary 1 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MIN2, -1) | |
Set the min PWM value for the auxiliary 2 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MIN3, -1) | |
Set the min PWM value for the auxiliary 3 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MIN4, -1) | |
Set the min PWM value for the auxiliary 4 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MIN5, -1) | |
Set the min PWM value for the auxiliary 5 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MIN6, -1) | |
Set the min PWM value for the auxiliary 6 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MIN7, -1) | |
Set the min PWM value for the auxiliary 7 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MIN8, -1) | |
Set the min PWM value for the auxiliary 8 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MAX1, -1) | |
Set the max PWM value for the auxiliary 1 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MAX2, -1) | |
Set the max PWM value for the auxiliary 2 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MAX3, -1) | |
Set the max PWM value for the auxiliary 3 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MAX4, -1) | |
Set the max PWM value for the auxiliary 4 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MAX5, -1) | |
Set the max PWM value for the auxiliary 5 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MAX6, -1) | |
Set the max PWM value for the auxiliary 6 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MAX7, -1) | |
Set the max PWM value for the auxiliary 7 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_MAX8, -1) | |
Set the max PWM value for the auxiliary 8 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_FAIL1, -1) | |
Set the failsafe PWM for the auxiliary 1 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_FAIL2, -1) | |
Set the failsafe PWM for the auxiliary 2 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_FAIL3, -1) | |
Set the failsafe PWM for the auxiliary 3 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_FAIL4, -1) | |
Set the failsafe PWM for the auxiliary 4 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_FAIL5, -1) | |
Set the failsafe PWM for the auxiliary 5 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_FAIL6, -1) | |
Set the failsafe PWM for the auxiliary 6 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_FAIL7, -1) | |
Set the failsafe PWM for the auxiliary 7 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_FAIL8, -1) | |
Set the failsafe PWM for the auxiliary 8 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_DIS1, -1) | |
Set the disarmed PWM for the auxiliary 1 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_DIS2, -1) | |
Set the disarmed PWM for the auxiliary 2 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_DIS3, -1) | |
Set the disarmed PWM for the auxiliary 3 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_DIS4, -1) | |
Set the disarmed PWM for the auxiliary 4 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_DIS5, -1) | |
Set the disarmed PWM for the auxiliary 5 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_DIS6, -1) | |
Set the disarmed PWM for the auxiliary 6 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_DIS7, -1) | |
Set the disarmed PWM for the auxiliary 7 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_DIS8, -1) | |
Set the disarmed PWM for the auxiliary 8 output. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_REV1, 0) | |
Invert direction of auxiliary output channel 1. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_REV2, 0) | |
Invert direction of auxiliary output channel 2. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_REV3, 0) | |
Invert direction of auxiliary output channel 3. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_REV4, 0) | |
Invert direction of auxiliary output channel 4. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_REV5, 0) | |
Invert direction of auxiliary output channel 5. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_REV6, 0) | |
Invert direction of auxiliary output channel 6. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_REV7, 0) | |
Invert direction of auxiliary output channel 7. More... | |
PARAM_DEFINE_INT32 (PWM_AUX_REV8, 0) | |
Invert direction of auxiliary output channel 8. More... | |
PARAM_DEFINE_FLOAT (PWM_AUX_TRIM1, 0) | |
Trim value for auxiliary output channel 1. More... | |
PARAM_DEFINE_FLOAT (PWM_AUX_TRIM2, 0) | |
Trim value for auxiliary output channel 2. More... | |
PARAM_DEFINE_FLOAT (PWM_AUX_TRIM3, 0) | |
Trim value for auxiliary output channel 3. More... | |
PARAM_DEFINE_FLOAT (PWM_AUX_TRIM4, 0) | |
Trim value for auxiliary output channel 4. More... | |
PARAM_DEFINE_FLOAT (PWM_AUX_TRIM5, 0) | |
Trim value for auxiliary output channel 5. More... | |
PARAM_DEFINE_FLOAT (PWM_AUX_TRIM6, 0) | |
Trim value for auxiliary output channel 6. More... | |
PARAM_DEFINE_FLOAT (PWM_AUX_TRIM7, 0) | |
Trim value for auxiliary output channel 7. More... | |
PARAM_DEFINE_FLOAT (PWM_AUX_TRIM8, 0) | |
Trim value for auxiliary output channel 8. More... | |
Parameters defined for PWM output.
Definition in file pwm_params_aux.c.
PARAM_DEFINE_FLOAT | ( | PWM_AUX_TRIM1 | , |
0 | |||
) |
Trim value for auxiliary output channel 1.
Set to normalized offset
-0.2 0.2 2 PWM Outputs
PARAM_DEFINE_FLOAT | ( | PWM_AUX_TRIM2 | , |
0 | |||
) |
Trim value for auxiliary output channel 2.
Set to normalized offset
-0.2 0.2 2 PWM Outputs
PARAM_DEFINE_FLOAT | ( | PWM_AUX_TRIM3 | , |
0 | |||
) |
Trim value for auxiliary output channel 3.
Set to normalized offset
-0.2 0.2 2 PWM Outputs
PARAM_DEFINE_FLOAT | ( | PWM_AUX_TRIM4 | , |
0 | |||
) |
Trim value for auxiliary output channel 4.
Set to normalized offset
-0.2 0.2 2 PWM Outputs
PARAM_DEFINE_FLOAT | ( | PWM_AUX_TRIM5 | , |
0 | |||
) |
Trim value for auxiliary output channel 5.
Set to normalized offset
-0.2 0.2 2 PWM Outputs
PARAM_DEFINE_FLOAT | ( | PWM_AUX_TRIM6 | , |
0 | |||
) |
Trim value for auxiliary output channel 6.
Set to normalized offset
-0.2 0.2 2 PWM Outputs
PARAM_DEFINE_FLOAT | ( | PWM_AUX_TRIM7 | , |
0 | |||
) |
Trim value for auxiliary output channel 7.
Set to normalized offset
-0.2 0.2 2 PWM Outputs
PARAM_DEFINE_FLOAT | ( | PWM_AUX_TRIM8 | , |
0 | |||
) |
Trim value for auxiliary output channel 8.
Set to normalized offset
-0.2 0.2 2 PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_RATE | , |
50 | |||
) |
Set the PWM output frequency for the auxiliary outputs.
Set to 400 for industry default or 1000 for high frequency ESCs.
Set to 0 for Oneshot125.
true
-1 2000 Hz PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MIN | , |
1000 | |||
) |
Set the minimum PWM for the auxiliary outputs.
Set to 1000 for industry default or 900 to increase servo travel.
true
800 1400 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MAX | , |
2000 | |||
) |
Set the maximum PWM for the auxiliary outputs.
Set to 2000 for industry default or 2100 to increase servo travel.
true
1600 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_DISARMED | , |
1500 | |||
) |
Set the disarmed PWM for auxiliary outputs.
This is the PWM pulse the autopilot is outputting if not armed. The main use of this parameter is to silence ESCs when they are disarmed.
true
0 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MIN1 | , |
- | 1 | ||
) |
Set the min PWM value for the auxiliary 1 output.
This is the minimum PWM pulse the autopilot is allowed to output. When set to -1 the value for PWM_AUX_MIN will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MIN2 | , |
- | 1 | ||
) |
Set the min PWM value for the auxiliary 2 output.
This is the minimum PWM pulse the autopilot is allowed to output. When set to -1 the value for PWM_AUX_MIN will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MIN3 | , |
- | 1 | ||
) |
Set the min PWM value for the auxiliary 3 output.
This is the minimum PWM pulse the autopilot is allowed to output. When set to -1 the value for PWM_AUX_MIN will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MIN4 | , |
- | 1 | ||
) |
Set the min PWM value for the auxiliary 4 output.
This is the minimum PWM pulse the autopilot is allowed to output. When set to -1 the value for PWM_AUX_MIN will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MIN5 | , |
- | 1 | ||
) |
Set the min PWM value for the auxiliary 5 output.
This is the minimum PWM pulse the autopilot is allowed to output. When set to -1 the value for PWM_AUX_MIN will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MIN6 | , |
- | 1 | ||
) |
Set the min PWM value for the auxiliary 6 output.
This is the minimum PWM pulse the autopilot is allowed to output. When set to -1 the value for PWM_AUX_MIN will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MIN7 | , |
- | 1 | ||
) |
Set the min PWM value for the auxiliary 7 output.
This is the minimum PWM pulse the autopilot is allowed to output. When set to -1 the value for PWM_AUX_MIN will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MIN8 | , |
- | 1 | ||
) |
Set the min PWM value for the auxiliary 8 output.
This is the minimum PWM pulse the autopilot is allowed to output. When set to -1 the value for PWM_AUX_MIN will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MAX1 | , |
- | 1 | ||
) |
Set the max PWM value for the auxiliary 1 output.
This is the maximum PWM pulse the autopilot is allowed to output. When set to -1 the value for PWM_AUX_MAX will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MAX2 | , |
- | 1 | ||
) |
Set the max PWM value for the auxiliary 2 output.
This is the maximum PWM pulse the autopilot is allowed to output. When set to -1 the value for PWM_AUX_MAX will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MAX3 | , |
- | 1 | ||
) |
Set the max PWM value for the auxiliary 3 output.
This is the maximum PWM pulse the autopilot is allowed to output. When set to -1 the value for PWM_AUX_MAX will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MAX4 | , |
- | 1 | ||
) |
Set the max PWM value for the auxiliary 4 output.
This is the maximum PWM pulse the autopilot is allowed to output. When set to -1 the value for PWM_AUX_MAX will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MAX5 | , |
- | 1 | ||
) |
Set the max PWM value for the auxiliary 5 output.
This is the maximum PWM pulse the autopilot is allowed to output. When set to -1 the value for PWM_AUX_MAX will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MAX6 | , |
- | 1 | ||
) |
Set the max PWM value for the auxiliary 6 output.
This is the maximum PWM pulse the autopilot is allowed to output. When set to -1 the value for PWM_AUX_MAX will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MAX7 | , |
- | 1 | ||
) |
Set the max PWM value for the auxiliary 7 output.
This is the maximum PWM pulse the autopilot is allowed to output. When set to -1 the value for PWM_AUX_MAX will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_MAX8 | , |
- | 1 | ||
) |
Set the max PWM value for the auxiliary 8 output.
This is the maximum PWM pulse the autopilot is allowed to output. When set to -1 the value for PWM_AUX_MAX will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_FAIL1 | , |
- | 1 | ||
) |
Set the failsafe PWM for the auxiliary 1 output.
This is the PWM pulse the autopilot is outputting if in failsafe mode. When set to -1 the value is set automatically depending if the actuator is a motor (900us) or a servo (1500us)
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_FAIL2 | , |
- | 1 | ||
) |
Set the failsafe PWM for the auxiliary 2 output.
This is the PWM pulse the autopilot is outputting if in failsafe mode. When set to -1 the value is set automatically depending if the actuator is a motor (900us) or a servo (1500us)
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_FAIL3 | , |
- | 1 | ||
) |
Set the failsafe PWM for the auxiliary 3 output.
This is the PWM pulse the autopilot is outputting if in failsafe mode. When set to -1 the value is set automatically depending if the actuator is a motor (900us) or a servo (1500us)
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_FAIL4 | , |
- | 1 | ||
) |
Set the failsafe PWM for the auxiliary 4 output.
This is the PWM pulse the autopilot is outputting if in failsafe mode. When set to -1 the value is set automatically depending if the actuator is a motor (900us) or a servo (1500us)
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_FAIL5 | , |
- | 1 | ||
) |
Set the failsafe PWM for the auxiliary 5 output.
This is the PWM pulse the autopilot is outputting if in failsafe mode. When set to -1 the value is set automatically depending if the actuator is a motor (900us) or a servo (1500us)
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_FAIL6 | , |
- | 1 | ||
) |
Set the failsafe PWM for the auxiliary 6 output.
This is the PWM pulse the autopilot is outputting if in failsafe mode. When set to -1 the value is set automatically depending if the actuator is a motor (900us) or a servo (1500us)
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_FAIL7 | , |
- | 1 | ||
) |
Set the failsafe PWM for the auxiliary 7 output.
This is the PWM pulse the autopilot is outputting if in failsafe mode. When set to -1 the value is set automatically depending if the actuator is a motor (900us) or a servo (1500us)
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_FAIL8 | , |
- | 1 | ||
) |
Set the failsafe PWM for the auxiliary 8 output.
This is the PWM pulse the autopilot is outputting if in failsafe mode. When set to -1 the value is set automatically depending if the actuator is a motor (900us) or a servo (1500us)
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_DIS1 | , |
- | 1 | ||
) |
Set the disarmed PWM for the auxiliary 1 output.
This is the PWM pulse the autopilot is outputting if not armed. When set to -1 the value for PWM_AUX_DISARMED will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_DIS2 | , |
- | 1 | ||
) |
Set the disarmed PWM for the auxiliary 2 output.
This is the PWM pulse the autopilot is outputting if not armed. When set to -1 the value for PWM_AUX_DISARMED will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_DIS3 | , |
- | 1 | ||
) |
Set the disarmed PWM for the auxiliary 3 output.
This is the PWM pulse the autopilot is outputting if not armed. When set to -1 the value for PWM_AUX_DISARMED will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_DIS4 | , |
- | 1 | ||
) |
Set the disarmed PWM for the auxiliary 4 output.
This is the PWM pulse the autopilot is outputting if not armed. When set to -1 the value for PWM_AUX_DISARMED will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_DIS5 | , |
- | 1 | ||
) |
Set the disarmed PWM for the auxiliary 5 output.
This is the PWM pulse the autopilot is outputting if not armed. When set to -1 the value for PWM_AUX_DISARMED will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_DIS6 | , |
- | 1 | ||
) |
Set the disarmed PWM for the auxiliary 6 output.
This is the PWM pulse the autopilot is outputting if not armed. When set to -1 the value for PWM_AUX_DISARMED will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_DIS7 | , |
- | 1 | ||
) |
Set the disarmed PWM for the auxiliary 7 output.
This is the PWM pulse the autopilot is outputting if not armed. When set to -1 the value for PWM_AUX_DISARMED will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_DIS8 | , |
- | 1 | ||
) |
Set the disarmed PWM for the auxiliary 8 output.
This is the PWM pulse the autopilot is outputting if not armed. When set to -1 the value for PWM_AUX_DISARMED will be used
true
-1 2200 us PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_REV1 | , |
0 | |||
) |
Invert direction of auxiliary output channel 1.
Enable to invert the channel. Warning: Use this parameter when connected to a servo only. For a brushless motor, invert manually two phases to reverse the direction.
PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_REV2 | , |
0 | |||
) |
Invert direction of auxiliary output channel 2.
Enable to invert the channel. Warning: Use this parameter when connected to a servo only. For a brushless motor, invert manually two phases to reverse the direction.
PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_REV3 | , |
0 | |||
) |
Invert direction of auxiliary output channel 3.
Enable to invert the channel. Warning: Use this parameter when connected to a servo only. For a brushless motor, invert manually two phases to reverse the direction.
PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_REV4 | , |
0 | |||
) |
Invert direction of auxiliary output channel 4.
Enable to invert the channel. Warning: Use this parameter when connected to a servo only. For a brushless motor, invert manually two phases to reverse the direction.
PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_REV5 | , |
0 | |||
) |
Invert direction of auxiliary output channel 5.
Enable to invert the channel. Warning: Use this parameter when connected to a servo only. For a brushless motor, invert manually two phases to reverse the direction.
PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_REV6 | , |
0 | |||
) |
Invert direction of auxiliary output channel 6.
Enable to invert the channel. Warning: Use this parameter when connected to a servo only. For a brushless motor, invert manually two phases to reverse the direction.
PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_REV7 | , |
0 | |||
) |
Invert direction of auxiliary output channel 7.
Enable to invert the channel. Warning: Use this parameter when connected to a servo only. For a brushless motor, invert manually two phases to reverse the direction.
PWM Outputs
PARAM_DEFINE_INT32 | ( | PWM_AUX_REV8 | , |
0 | |||
) |
Invert direction of auxiliary output channel 8.
Enable to invert the channel. Warning: Use this parameter when connected to a servo only. For a brushless motor, invert manually two phases to reverse the direction.
PWM Outputs