From 604bfd070092f22734498ac5c3694c2ed66c84fc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 5 May 2013 20:11:46 +1000 Subject: [PATCH] APM_Control: adjust recommended ranges --- libraries/APM_Control/AP_PitchController.cpp | 2 +- libraries/APM_Control/AP_RollController.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/APM_Control/AP_PitchController.cpp b/libraries/APM_Control/AP_PitchController.cpp index ef528a572a..8fdf349a06 100644 --- a/libraries/APM_Control/AP_PitchController.cpp +++ b/libraries/APM_Control/AP_PitchController.cpp @@ -19,7 +19,7 @@ const AP_Param::GroupInfo AP_PitchController::var_info[] PROGMEM = { // @Param: OMEGA // @DisplayName: Pitch rate gain // @Description: This is the gain from pitch angle error to demanded pitch rate. It controls the time constant from demanded to achieved pitch angle. For example if a time constant from demanded to achieved pitch of 0.5 sec was required, this gain would be set to 1/0.5 = 2.0. A value of 1.0 is a good default and will work with nearly all models. Advanced users may want to increase this to obtain a faster response. - // @Range: 0.8 2 + // @Range: 0.8 2.5 // @Increment: 0.1 // @User: Advanced AP_GROUPINFO("OMEGA", 0, AP_PitchController, _kp_angle, 1.0), diff --git a/libraries/APM_Control/AP_RollController.cpp b/libraries/APM_Control/AP_RollController.cpp index 33a3c3c23c..4b00776fbb 100644 --- a/libraries/APM_Control/AP_RollController.cpp +++ b/libraries/APM_Control/AP_RollController.cpp @@ -19,7 +19,7 @@ const AP_Param::GroupInfo AP_RollController::var_info[] PROGMEM = { // @Param: OMEGA // @DisplayName: Roll rate gain // @Description: This is the gain from pitch angle error to demanded pitch rate. It controls the time constant from demanded to achieved pitch angle. For example if a time constant from demanded to achieved pitch of 0.5 sec was required, this gain would be set to 1/0.5 = 2.0. A value of 1.0 is a good default and will work with nearly all models. Advanced users may want to increase this to obtain a faster response. - // @Range: 0.8 2 + // @Range: 0.8 2.5 // @Increment: 0.1 // @User: Advanced AP_GROUPINFO("OMEGA", 0, AP_RollController, _kp_angle, 1.0),