2 * This file is part of Cleanflight and Betaflight.
4 * Cleanflight and Betaflight are free software. You can redistribute
5 * this software and/or modify this software under the terms of the
6 * GNU General Public License as published by the Free Software
7 * Foundation, either version 3 of the License, or (at your option)
10 * Cleanflight and Betaflight are distributed in the hope that they
11 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
12 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this software.
18 * If not, see <http://www.gnu.org/licenses/>.
23 #define PARAM_NAME_GYRO_HARDWARE_LPF "gyro_hardware_lpf"
24 #define PARAM_NAME_GYRO_LPF1_TYPE "gyro_lpf1_type"
25 #define PARAM_NAME_GYRO_LPF1_STATIC_HZ "gyro_lpf1_static_hz"
26 #define PARAM_NAME_GYRO_LPF2_TYPE "gyro_lpf2_type"
27 #define PARAM_NAME_GYRO_LPF2_STATIC_HZ "gyro_lpf2_static_hz"
28 #define PARAM_NAME_GYRO_TO_USE "gyro_to_use"
29 #define PARAM_NAME_DYN_NOTCH_MAX_HZ "dyn_notch_max_hz"
30 #define PARAM_NAME_DYN_NOTCH_COUNT "dyn_notch_count"
31 #define PARAM_NAME_DYN_NOTCH_Q "dyn_notch_q"
32 #define PARAM_NAME_DYN_NOTCH_MIN_HZ "dyn_notch_min_hz"
33 #define PARAM_NAME_ACC_HARDWARE "acc_hardware"
34 #define PARAM_NAME_ACC_LPF_HZ "acc_lpf_hz"
35 #define PARAM_NAME_MAG_HARDWARE "mag_hardware"
36 #define PARAM_NAME_BARO_HARDWARE "baro_hardware"
37 #define PARAM_NAME_RC_SMOOTHING "rc_smoothing"
38 #define PARAM_NAME_RC_SMOOTHING_AUTO_FACTOR "rc_smoothing_auto_factor"
39 #define PARAM_NAME_RC_SMOOTHING_AUTO_FACTOR_THROTTLE "rc_smoothing_auto_factor_throttle"
40 #define PARAM_NAME_RC_SMOOTHING_SETPOINT_CUTOFF "rc_smoothing_setpoint_cutoff"
41 #define PARAM_NAME_RC_SMOOTHING_FEEDFORWARD_CUTOFF "rc_smoothing_feedforward_cutoff"
42 #define PARAM_NAME_RC_SMOOTHING_THROTTLE_CUTOFF "rc_smoothing_throttle_cutoff"
43 #define PARAM_NAME_RC_SMOOTHING_DEBUG_AXIS "rc_smoothing_debug_axis"
44 #define PARAM_NAME_RC_SMOOTHING_ACTIVE_CUTOFFS "rc_smoothing_active_cutoffs_ff_sp_thr"
45 #define PARAM_NAME_SERIAL_RX_PROVIDER "serialrx_provider"
46 #define PARAM_NAME_DSHOT_IDLE_VALUE "dshot_idle_value"
47 #define PARAM_NAME_DSHOT_BIDIR "dshot_bidir"
48 #define PARAM_NAME_USE_UNSYNCED_PWM "use_unsynced_pwm"
49 #define PARAM_NAME_MOTOR_PWM_PROTOCOL "motor_pwm_protocol"
50 #define PARAM_NAME_MOTOR_PWM_RATE "motor_pwm_rate"
51 #define PARAM_NAME_MOTOR_POLES "motor_poles"
52 #define PARAM_NAME_THR_MID "thr_mid"
53 #define PARAM_NAME_THR_EXPO "thr_expo"
54 #define PARAM_NAME_RATES_TYPE "rates_type"
55 #define PARAM_NAME_TPA_RATE "tpa_rate"
56 #define PARAM_NAME_TPA_BREAKPOINT "tpa_breakpoint"
57 #define PARAM_NAME_TPA_MODE "tpa_mode"
58 #define PARAM_NAME_THROTTLE_LIMIT_TYPE "throttle_limit_type"
59 #define PARAM_NAME_THROTTLE_LIMIT_PERCENT "throttle_limit_percent"
60 #define PARAM_NAME_GYRO_CAL_ON_FIRST_ARM "gyro_cal_on_first_arm"
61 #define PARAM_NAME_DEADBAND "deadband"
62 #define PARAM_NAME_YAW_DEADBAND "yaw_deadband"
63 #define PARAM_NAME_PID_PROCESS_DENOM "pid_process_denom"
64 #define PARAM_NAME_DTERM_LPF1_TYPE "dterm_lpf1_type"
65 #define PARAM_NAME_DTERM_LPF1_STATIC_HZ "dterm_lpf1_static_hz"
66 #define PARAM_NAME_DTERM_LPF2_TYPE "dterm_lpf2_type"
67 #define PARAM_NAME_DTERM_LPF2_STATIC_HZ "dterm_lpf2_static_hz"
68 #define PARAM_NAME_DTERM_NOTCH_HZ "dterm_notch_hz"
69 #define PARAM_NAME_DTERM_NOTCH_CUTOFF "dterm_notch_cutoff"
70 #define PARAM_NAME_VBAT_SAG_COMPENSATION "vbat_sag_compensation"
71 #define PARAM_NAME_PID_AT_MIN_THROTTLE "pid_at_min_throttle"
72 #define PARAM_NAME_ANTI_GRAVITY_GAIN "anti_gravity_gain"
73 #define PARAM_NAME_ANTI_GRAVITY_CUTOFF_HZ "anti_gravity_cutoff_hz"
74 #define PARAM_NAME_ANTI_GRAVITY_P_GAIN "anti_gravity_p_gain"
75 #define PARAM_NAME_ACC_LIMIT_YAW "acc_limit_yaw"
76 #define PARAM_NAME_ACC_LIMIT "acc_limit"
77 #define PARAM_NAME_ITERM_RELAX "iterm_relax"
78 #define PARAM_NAME_ITERM_RELAX_TYPE "iterm_relax_type"
79 #define PARAM_NAME_ITERM_RELAX_CUTOFF "iterm_relax_cutoff"
80 #define PARAM_NAME_ITERM_WINDUP "iterm_windup"
81 #define PARAM_NAME_PIDSUM_LIMIT "pidsum_limit"
82 #define PARAM_NAME_PIDSUM_LIMIT_YAW "pidsum_limit_yaw"
83 #define PARAM_NAME_YAW_LOWPASS_HZ "yaw_lowpass_hz"
84 #define PARAM_NAME_THROTTLE_BOOST "throttle_boost"
85 #define PARAM_NAME_THROTTLE_BOOST_CUTOFF "throttle_boost_cutoff"
86 #define PARAM_NAME_ABS_CONTROL_GAIN "abs_control_gain"
87 #define PARAM_NAME_USE_INTEGRATED_YAW "use_integrated_yaw"
88 #define PARAM_NAME_D_MAX_GAIN "d_max_gain"
89 #define PARAM_NAME_D_MAX_ADVANCE "d_max_advance"
90 #define PARAM_NAME_MOTOR_OUTPUT_LIMIT "motor_output_limit"
91 #define PARAM_NAME_FEEDFORWARD_TRANSITION "feedforward_transition"
92 #define PARAM_NAME_FEEDFORWARD_AVERAGING "feedforward_averaging"
93 #define PARAM_NAME_FEEDFORWARD_SMOOTH_FACTOR "feedforward_smooth_factor"
94 #define PARAM_NAME_FEEDFORWARD_JITTER_FACTOR "feedforward_jitter_factor"
95 #define PARAM_NAME_FEEDFORWARD_BOOST "feedforward_boost"
96 #define PARAM_NAME_FEEDFORWARD_MAX_RATE_LIMIT "feedforward_max_rate_limit"
97 #define PARAM_NAME_DYN_IDLE_MIN_RPM "dyn_idle_min_rpm"
98 #define PARAM_NAME_DYN_IDLE_P_GAIN "dyn_idle_p_gain"
99 #define PARAM_NAME_DYN_IDLE_I_GAIN "dyn_idle_i_gain"
100 #define PARAM_NAME_DYN_IDLE_D_GAIN "dyn_idle_d_gain"
101 #define PARAM_NAME_DYN_IDLE_MAX_INCREASE "dyn_idle_max_increase"
102 #define PARAM_NAME_SIMPLIFIED_PIDS_MODE "simplified_pids_mode"
103 #define PARAM_NAME_SIMPLIFIED_MASTER_MULTIPLIER "simplified_master_multiplier"
104 #define PARAM_NAME_SIMPLIFIED_I_GAIN "simplified_i_gain"
105 #define PARAM_NAME_SIMPLIFIED_D_GAIN "simplified_d_gain"
106 #define PARAM_NAME_SIMPLIFIED_PI_GAIN "simplified_pi_gain"
107 #define PARAM_NAME_SIMPLIFIED_DMAX_GAIN "simplified_dmax_gain"
108 #define PARAM_NAME_SIMPLIFIED_FEEDFORWARD_GAIN "simplified_feedforward_gain"
109 #define PARAM_NAME_SIMPLIFIED_PITCH_D_GAIN "simplified_pitch_d_gain"
110 #define PARAM_NAME_SIMPLIFIED_PITCH_PI_GAIN "simplified_pitch_pi_gain"
111 #define PARAM_NAME_SIMPLIFIED_DTERM_FILTER "simplified_dterm_filter"
112 #define PARAM_NAME_SIMPLIFIED_DTERM_FILTER_MULTIPLIER "simplified_dterm_filter_multiplier"
113 #define PARAM_NAME_SIMPLIFIED_GYRO_FILTER "simplified_gyro_filter"
114 #define PARAM_NAME_SIMPLIFIED_GYRO_FILTER_MULTIPLIER "simplified_gyro_filter_multiplier"
115 #define PARAM_NAME_DEBUG_MODE "debug_mode"
116 #define PARAM_NAME_RPM_FILTER_HARMONICS "rpm_filter_harmonics"
117 #define PARAM_NAME_RPM_FILTER_Q "rpm_filter_q"
118 #define PARAM_NAME_RPM_FILTER_MIN_HZ "rpm_filter_min_hz"
119 #define PARAM_NAME_RPM_FILTER_FADE_RANGE_HZ "rpm_filter_fade_range_hz"
120 #define PARAM_NAME_RPM_FILTER_LPF_HZ "rpm_filter_lpf_hz"
121 #define PARAM_NAME_POSITION_ALTITUDE_SOURCE "altitude_source"
122 #define PARAM_NAME_POSITION_ALTITUDE_PREFER_BARO "altitude_prefer_baro"
123 #define PARAM_NAME_POSITION_ALTITUDE_LPF "altitude_lpf"
124 #define PARAM_NAME_POSITION_ALTITUDE_D_LPF "altitude_d_lpf"
127 #define PARAM_NAME_GPS_PROVIDER "gps_provider"
128 #define PARAM_NAME_GPS_SBAS_MODE "gps_sbas_mode"
129 #define PARAM_NAME_GPS_SBAS_INTEGRITY "gps_sbas_integrity"
130 #define PARAM_NAME_GPS_AUTO_CONFIG "gps_auto_config"
131 #define PARAM_NAME_GPS_AUTO_BAUD "gps_auto_baud"
132 #define PARAM_NAME_GPS_UBLOX_USE_GALILEO "gps_ublox_use_galileo"
133 #define PARAM_NAME_GPS_UBLOX_MODE "gps_ublox_mode"
134 #define PARAM_NAME_GPS_SET_HOME_POINT_ONCE "gps_set_home_point_once"
135 #define PARAM_NAME_GPS_USE_3D_SPEED "gps_use_3d_speed"
137 #ifdef USE_GPS_RESCUE
138 #define PARAM_NAME_GPS_RESCUE_MIN_START_DIST "gps_rescue_min_start_dist"
139 #define PARAM_NAME_GPS_RESCUE_ALT_MODE "gps_rescue_alt_mode"
140 #define PARAM_NAME_GPS_RESCUE_INITIAL_CLIMB "gps_rescue_initial_climb"
141 #define PARAM_NAME_GPS_RESCUE_ASCEND_RATE "gps_rescue_ascend_rate"
143 #define PARAM_NAME_GPS_RESCUE_RETURN_ALT "gps_rescue_return_alt"
144 #define PARAM_NAME_GPS_RESCUE_RETURN_SPEED "gps_rescue_ground_speed"
145 #define PARAM_NAME_GPS_RESCUE_PITCH_ANGLE_MAX "gps_rescue_pitch_angle_max"
146 #define PARAM_NAME_GPS_RESCUE_ROLL_MIX "gps_rescue_roll_mix"
148 #define PARAM_NAME_GPS_RESCUE_DESCENT_DIST "gps_rescue_descent_dist"
149 #define PARAM_NAME_GPS_RESCUE_DESCEND_RATE "gps_rescue_descend_rate"
150 #define PARAM_NAME_GPS_RESCUE_LANDING_ALT "gps_rescue_landing_alt"
152 #define PARAM_NAME_GPS_RESCUE_THROTTLE_MIN "gps_rescue_throttle_min"
153 #define PARAM_NAME_GPS_RESCUE_THROTTLE_MAX "gps_rescue_throttle_max"
154 #define PARAM_NAME_GPS_RESCUE_THROTTLE_HOVER "gps_rescue_throttle_hover"
156 #define PARAM_NAME_GPS_RESCUE_SANITY_CHECKS "gps_rescue_sanity_checks"
157 #define PARAM_NAME_GPS_RESCUE_MIN_SATS "gps_rescue_min_sats"
158 #define PARAM_NAME_GPS_RESCUE_ALLOW_ARMING_WITHOUT_FIX "gps_rescue_allow_arming_without_fix"
160 #define PARAM_NAME_GPS_RESCUE_THROTTLE_P "gps_rescue_throttle_p"
161 #define PARAM_NAME_GPS_RESCUE_THROTTLE_I "gps_rescue_throttle_i"
162 #define PARAM_NAME_GPS_RESCUE_THROTTLE_D "gps_rescue_throttle_d"
163 #define PARAM_NAME_GPS_RESCUE_VELOCITY_P "gps_rescue_velocity_p"
164 #define PARAM_NAME_GPS_RESCUE_VELOCITY_I "gps_rescue_velocity_i"
165 #define PARAM_NAME_GPS_RESCUE_VELOCITY_D "gps_rescue_velocity_d"
166 #define PARAM_NAME_GPS_RESCUE_YAW_P "gps_rescue_yaw_p"
169 #define PARAM_NAME_GPS_RESCUE_USE_MAG "gps_rescue_use_mag"