AP_Quicktune: adjust defaults

change QWIK_ANGLE_MAX to 10. this is a very conservative value, we may
raise it based on user feedback.

Lower the default SMAX to 4 to be a bit more conservative for larger
vehicles
This commit is contained in:
Andrew Tridgell 2024-11-25 11:24:04 +11:00
parent 8fed0ba287
commit b7c536f8f1
1 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ const AP_Param::GroupInfo AP_Quicktune::var_info[] = {
// @Description: Threshold for oscillation detection. A lower value will lead to a more conservative tune. // @Description: Threshold for oscillation detection. A lower value will lead to a more conservative tune.
// @Range: 1 10 // @Range: 1 10
// @User: Standard // @User: Standard
AP_GROUPINFO("OSC_SMAX", 5, AP_Quicktune, osc_smax, 5), AP_GROUPINFO("OSC_SMAX", 5, AP_Quicktune, osc_smax, 4),
// @Param: YAW_P_MAX // @Param: YAW_P_MAX
// @DisplayName: Quicktune Yaw P max // @DisplayName: Quicktune Yaw P max
@ -122,10 +122,10 @@ const AP_Param::GroupInfo AP_Quicktune::var_info[] = {
// @Param: ANGLE_MAX // @Param: ANGLE_MAX
// @DisplayName: maximum angle error for tune abort // @DisplayName: maximum angle error for tune abort
// @Description: If while tuning the angle error goes over this limit then the tune will aborts // @Description: If while tuning the angle error goes over this limit then the tune will aborts to prevent a bad oscillation in the case of the tuning algorithm failing. If you get an error "Quicktune: attitude error ABORTING" and you think it is a false positive then you can either raise this parameter or you can try increasing the QWIK_DOUBLE_TIME to do the tune more slowly.
// @Units: deg // @Units: deg
// @User: Standard // @User: Standard
AP_GROUPINFO("ANGLE_MAX", 14, AP_Quicktune, angle_max, 15), AP_GROUPINFO("ANGLE_MAX", 14, AP_Quicktune, angle_max, 10),
AP_GROUPEND AP_GROUPEND
}; };