Plane: add AUTOTUNE_OPTIONS flags to allow filter updates to be disabled
This commit is contained in:
parent
ee883b6ad0
commit
15655a9c24
@ -38,6 +38,14 @@ const AP_Param::Info Plane::var_info[] = {
|
||||
// @User: Standard
|
||||
ASCALAR(autotune_level, "AUTOTUNE_LEVEL", 6),
|
||||
|
||||
// @Param: AUTOTUNE_OPTIONS
|
||||
// @DisplayName: Autotune options bitmask
|
||||
// @Description: Autotune specific options
|
||||
// @Bitmask: 0: Disable FLTD update
|
||||
// @Bitmask: 1: Disable FLTT update
|
||||
// @User: Advanced
|
||||
ASCALAR(autotune_options, "AUTOTUNE_OPTIONS", 0),
|
||||
|
||||
// @Param: TELEM_DELAY
|
||||
// @DisplayName: Telemetry startup delay
|
||||
// @Description: The amount of time (in seconds) to delay radio telemetry to prevent an Xbee bricking on power up
|
||||
@ -1247,8 +1255,6 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = {
|
||||
// @Bitmask: 0:Roll,1:Pitch,2:Yaw
|
||||
// @User: Standard
|
||||
AP_GROUPINFO("AUTOTUNE_AXES", 34, ParametersG2, axis_bitmask, 7),
|
||||
|
||||
|
||||
|
||||
AP_GROUPEND
|
||||
};
|
||||
|
@ -356,6 +356,7 @@ public:
|
||||
k_param_fence, // vehicle fence - unused
|
||||
k_param_acro_yaw_rate,
|
||||
k_param_takeoff_throttle_max_t,
|
||||
k_param_autotune_options,
|
||||
};
|
||||
|
||||
AP_Int16 format_version;
|
||||
|
Loading…
Reference in New Issue
Block a user